Documentation ¶
Index ¶
- func AddServe(s ...api.Server)
- func GetContext() context.Context
- func GetFlag() []flag.Flag
- func GetFlagSet() *flag.Set
- func GetTimingWheel() *timer.TimingWheel
- func SetConfig(cf *Config)
- func SetFlag(fg []flag.Flag)
- func SetFlagSet(fs *flag.Set)
- func SetRegistry(rgy registry.Registry)
- type Config
- type ServiceContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContext ¶
func GetFlagSet ¶
func GetTimingWheel ¶
func GetTimingWheel() *timer.TimingWheel
func SetFlagSet ¶
func SetRegistry ¶
Types ¶
type Config ¶
type ServiceContext ¶
type ServiceContext struct {
// contains filtered or unexported fields
}
func GetServiceContext ¶
func GetServiceContext() *ServiceContext
func (*ServiceContext) GetRegistry ¶
func (sc *ServiceContext) GetRegistry() registry.Registry
func (*ServiceContext) GetServers ¶
func (sc *ServiceContext) GetServers() []api.Server
Click to show internal directories.
Click to hide internal directories.