Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssemblyObj ¶
type AssemblyObj struct {
// contains filtered or unexported fields
}
func (*AssemblyObj) GetObj ¶
func (a *AssemblyObj) GetObj() interface{}
func (*AssemblyObj) SetObj ¶
func (a *AssemblyObj) SetObj(ob interface{})
type CosConf ¶
type CosConf struct { Public *cosCfg `json:"public"` Private *cosCfg `json:"private"` }
cos配置
type DbConf ¶
type DbConf struct { Host string `json:"host"` // 主机 Port int `json:"port"` // 端口 User string `json:"user"` // 用户名 Password string `json:"password"` // 用户密码 Database string `json:"database"` // 数据库名 }
Conf 数据库配置
type EtcdConf ¶ added in v0.0.2
type EtcdConf struct { Endpoints []string `json:"endpoints"` AutoSyncInterval time.Duration `json:"auto-sync-interval"` DialTimeout time.Duration `json:"dial-timeout"` DialKeepAliveTime time.Duration `json:"dial-keep-alive-time"` DialKeepAliveTimeout time.Duration `json:"dial-keep-alive-timeout"` MaxCallSendMsgSize int MaxCallRecvMsgSize int }
type GrpcCallConf ¶
type GrpcCallConf struct { ClientName string `json:"clientName"` ServerName []string `json:"serverName"` Timeout int `json:"timeOut"` }
grpc接口超时配置
type PanicReq ¶
type PanicReq struct { Service string `json:"service"` ErrorInfo string `json:"error_info"` Stack string `json:"stack"` LogId string `json:"log_id"` FuncName string `json:"func_name"` Host string `json:"host"` PodName string `json:"pod_name"` LastCommitUser string `json:"last_commit_user"` CommitTime string `json:"commit_time"` FileName string `json:"file_name"` }
Click to show internal directories.
Click to hide internal directories.