Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRpcClientGenerator ¶
func AddRpcClientGenerator(name string, generator interface{})
func SetClusterProxy ¶
func SetClusterProxy(proxy any)
Types ¶
type MsgDef ¶
type MsgDef interface {
GetMethodRouter() map[string]*MethodItem
GetIdMsg() map[int32]*ReqItem
}
type RpcDiscoverer ¶
type RpcDiscoverer interface {
NewMeshClient(target string) (gtransport.Client, error)
}
func GetRpcDiscoverer ¶
func GetRpcDiscoverer() RpcDiscoverer
type RpcProvider ¶
type RpcProvider interface {
AddServiceProvider(name string, desc interface{}, provider interface{})
}
func GetRpcProvider ¶
func GetRpcProvider() RpcProvider
Click to show internal directories.
Click to hide internal directories.