JCS-pub/client/internal/http/config.go

13 lines
525 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package http
import "gitlink.org.cn/cloudream/jcs-pub/client/types"
type Config struct {
Enabled bool `json:"enabled"`
Listen string `json:"listen"`
AuthAccessKey string `json:"authAccessKey"` // TODO 临时办法
AuthSecretKey string `json:"authSecretKey"`
MaxBodySize int64 `json:"maxBodySize"`
UserSpaceID types.UserSpaceID `json:"userSpaceID"` // TODO 进行访问量统计时当前客户端所属的存储ID。临时解决方案。
}