Documentation ¶
Index ¶
- type App
- type Module
- type Option
- func Debug(t bool) Option
- func KillWaitTTL(t time.Duration) Option
- func Port(port int) Option
- func RPCExpired(t time.Duration) Option
- func RegisterInterval(t time.Duration) Option
- func RegisterTTL(t time.Duration) Option
- func Registry(r registry.Registry) Option
- func RegistryEnable(status bool) Option
- func Tracing(t Trace) Option
- func Version(version string) Option
- type Options
- type RPCModule
- type ServerSession
- type Trace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
Option 配置项
func KillWaitTTL ¶
KillWaitTTL specifies the interval on which to re-register
func RegisterInterval ¶
RegisterInterval specifies the interval on which to re-register
func RegisterTTL ¶
RegisterTTL specifies the TTL to use when registering the service
func RegistryEnable ¶
RegistryEnable sets the registry for the service status open or close
Click to show internal directories.
Click to hide internal directories.