Documentation ¶
Index ¶
Constants ¶
View Source
const PackageName = "server.egovernor"
PackageName 包名
Variables ¶
View Source
var ( // DefaultServeMux ... DefaultServeMux = http.NewServeMux() )
Functions ¶
Types ¶
type Config ¶
type Config struct { Host string Port int EnableLocalMainIP bool EnableConnTcpMetric bool ConnTcpMetricPorts []uint64 Network string }
Config 配置
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
Container defines a component instance.
func DefaultContainer ¶
func DefaultContainer() *Container
DefaultContainer returns an default container.
Click to show internal directories.
Click to hide internal directories.