Documentation ¶
Index ¶
- type Option
- type Options
- type Proxy
- func (r *Proxy) Call(servicePath string, serviceMethod string, args *rpc.Args, reply interface{}) error
- func (r *Proxy) Go(servicePath string, serviceMethod string, args *rpc.Args, reply interface{}, ...)
- func (r *Proxy) OnDestroy()
- func (r *Proxy) OnInit(s component.ServerImpl)
- func (r *Proxy) OnRun(closeSig chan bool)
- func (r *Proxy) SetRpcFilter(f filter.Filter)
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.
func SelectMode ¶
Select mode of service. options is "RandomSelect","RoundRobin","WeightedRoundRobin", "WeightedICMP","ConsistentHash","Closest".
Click to show internal directories.
Click to hide internal directories.