Documentation ¶
Index ¶
- Constants
- type RedisRouter
- type Router
- func (this *Router) Config() core.IEntityConf
- func (this *Router) EntityStub() *core.EntityStub
- func (this *Router) HandleServiceRequested(_ context.Context, args *core.RpcRequestArguments, resp *core.SlotResponse) error
- func (this *Router) Open(s core.IServer, ins core.IRouter) *herrors.Error
- func (this *Router) RegisterService(s core.IService) *herrors.Error
- func (this *Router) RequestService(service string, slot string, params htypes.Map) (htypes.Any, *herrors.Error)
- func (this *Router) UnRegisterService(s core.IService)
Constants ¶
View Source
const (
RpcxServer = "HasServices"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisRouter ¶
type Router ¶
type Router struct { core.BaseRouter // contains filtered or unexported fields }
func (*Router) Config ¶
func (this *Router) Config() core.IEntityConf
func (*Router) EntityStub ¶
func (this *Router) EntityStub() *core.EntityStub
func (*Router) HandleServiceRequested ¶
func (this *Router) HandleServiceRequested(_ context.Context, args *core.RpcRequestArguments, resp *core.SlotResponse) error
func (*Router) RegisterService ¶
func (*Router) RequestService ¶
func (*Router) UnRegisterService ¶
Click to show internal directories.
Click to hide internal directories.