Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(ProxyFactory)
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy struct
func (*Proxy) Get ¶
func (p *Proxy) Get() common.RPCService
func (*Proxy) Implement ¶
func (p *Proxy) Implement(v common.RPCService)
proxy implement In consumer, RPCService like:
type XxxProvider struct { Yyy func(ctx context.Context, args []interface{}, rsp *Zzz) error }
Click to show internal directories.
Click to hide internal directories.