Documentation ¶
Index ¶
Constants ¶
View Source
const ( DevMod = "dev" // dev ReleaseMod = "release" // 正式环境 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string RunMode string GrpcAddress string GrpcTransData int ShutDownTime time.Duration }
Config 启动配置信息
type GWBuild ¶
type GWBuild struct {
// contains filtered or unexported fields
}
func NewGWBuild ¶
func (*GWBuild) RegisterServer ¶
type OptionFunc ¶
type OptionFunc func(*GWBuild)
Click to show internal directories.
Click to hide internal directories.