Documentation ¶
Index ¶
- type Option
- type Options
- type RegisterPlugin
- type Remote
- func (r *Remote) GetRemoteAddrs() string
- func (r *Remote) OnDestroy()
- func (r *Remote) OnInit(s component.ServerImpl)
- func (r *Remote) OnRun(closeSig chan bool)
- func (r *Remote) RegisterHandler(rcvr interface{}, metadata string) error
- func (r *Remote) RegisterName(nodeId string, rcvr interface{}, metadata string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func RegistryType ¶
Register service type. option is consul, etcd, etcdv3, zookeeper.
type RegisterPlugin ¶
type RegisterPlugin interface {
Start() error
}
type Remote ¶
type Remote struct {
// contains filtered or unexported fields
}
func (*Remote) GetRemoteAddrs ¶
func (*Remote) OnInit ¶
func (r *Remote) OnInit(s component.ServerImpl)
func (*Remote) RegisterHandler ¶
Click to show internal directories.
Click to hide internal directories.