Documentation ¶
Index ¶
Constants ¶
View Source
const ( S3ProviderID = "s3" LocalProviderID = "local" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerConf ¶
type ServerConf struct { Type string `json:"type"` S3Conf provider.S3Conf `json:"s3"` LocalConf provider.LocalConf `json:"local"` LoggingLevel string `json:"loggingLevel"` Port uint `json:"port"` }
func LoadConfFile ¶
func LoadConfFile(path string) (ServerConf, error)
Click to show internal directories.
Click to hide internal directories.