Versions in this module Expand all Collapse all v0 v0.1.1 Jun 7, 2023 Changes in this version type BusinessConfig + LoginConf LoginConf + type LoginConf struct + CookieName string + JWTSecret string + Timeout int64 v0.1.0 Mar 28, 2023 Changes in this version + type Bootstrap struct + BC *BusinessConfig + Ops *Ops + Server *Server + type BusinessConfig struct + type Cos struct + SecretID string + SecretKey string + type GrpcServer struct + Addr string + Network string + Timeout int + type HttpServer struct + Addr string + Network string + Timeout int + type Log struct + Compress bool + ConsoleStdout bool + FileStdout bool + Level string + LocalTime bool + MaxAge int + MaxBackups int + MaxSize int + Path string + func (log *Log) EnableCompress() bool + func (log *Log) EnableConsuleStdout() bool + func (log *Log) EnableFileStdout() bool + func (log *Log) GetLogLevel() string + func (log *Log) GetLogPath() string + func (log *Log) GetMaxAge() int + func (log *Log) GetMaxBackups() int + func (log *Log) GetMaxSize() int + func (log *Log) UseLocalTime() bool + type MySQL struct + DB string + Host string + Password string + Port int + Username string + type Ops struct + Log Log + Mysql MySQL + MysqlRO MySQL + Redis Redis + Tracing Tracing + func (ops *Ops) GetLog() *Log + func (ops *Ops) GetTracing() (*Tracing, error) + type Redis struct + DB int + Host string + Password string + Port int + type Server struct + Grpc *GrpcServer + Http *HttpServer + Name string + Version string + type Tracing struct + Endpoint string + Token string + func (tr *Tracing) GetEndpoint() string + func (tr *Tracing) GetToken() string