Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(conf OpenerLoader)
Types ¶
type Config ¶
type Config struct { DbPostgres struct { Dnam string `json:"dnam"` Host string `json:"host"` Port string `json:"port"` User string `json:"user"` Pass string `json:"pass"` Pkey string `json:"pkey"` Sslm string `json:"sslm"` } `json:"dbPostgres"` DoSpaces struct { UseSpaces string `json:"useSpaces"` AccessKey string `json:"accessKey"` Secret string `json:"secret"` BucketName string `json:"bucketName"` CustomDomain string `json:"customDomain"` RegionName string `json:"regionName"` EndpointUrl string `json:"endpointUrl"` VanityUrl string `json:"vanityUrl"` } `json:"doSpaces"` TempFileDir string `json:"tempFileDir"` UploadPrefix string `json:"uploadPrefix"` RootDir string `json:"rootDir"` Var02 string `json:"var02"` }
type OpenerLoader ¶
Click to show internal directories.
Click to hide internal directories.