Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Version string `toml:"version"` // xlog Log *log.Config // HTTPServer BM *BM // tracer Tracer *trace.Config // oss Oss *Oss // db DB *DB // reload time Reload time.Duration GitRelation map[string]string // identify Auth *permit.Config // other InvalidFrameworkFile []string TextSizeLimitList []TextSizeLimit Property *Property }
Config struct.
var (
Conf *Config
)
config init.
type Oss ¶
type Oss struct { Endpoint string AccessKeyID string AccessKeySecret string Bucket string OriginDir string PublishDir string }
Oss struct.
Click to show internal directories.
Click to hide internal directories.