Documentation
¶
Index ¶
- func NewHandlerFormater() api.IAPIFormater
- type HandlerFormater
- func (self *HandlerFormater) IsValidMethod(method reflect.Method) bool
- func (self *HandlerFormater) MakeCallArgs(receiver reflect.Value, args reflect.Value, cbFunc reflect.Value, ...) []reflect.Value
- func (self *HandlerFormater) MakeHandlerSession(from interface{}) api.IHandlerSession
- func (self *HandlerFormater) NeedSession() bool
- type HandlerNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandlerFormater ¶
func NewHandlerFormater() api.IAPIFormater
Types ¶
type HandlerFormater ¶
type HandlerFormater struct {
// contains filtered or unexported fields
}
func (*HandlerFormater) IsValidMethod ¶
func (self *HandlerFormater) IsValidMethod(method reflect.Method) bool
func (*HandlerFormater) MakeCallArgs ¶
func (*HandlerFormater) MakeHandlerSession ¶
func (self *HandlerFormater) MakeHandlerSession(from interface{}) api.IHandlerSession
func (*HandlerFormater) NeedSession ¶
func (self *HandlerFormater) NeedSession() bool
type HandlerNode ¶
type HandlerNode struct {
// contains filtered or unexported fields
}
func NewHandlerNode ¶
func NewHandlerNode() *HandlerNode
func (*HandlerNode) Call ¶
func (self *HandlerNode) Call(session api.IHandlerSession, method string, msg []byte, cbFunc api.HandlerCBFunc)
func (*HandlerNode) GetCollection ¶
func (self *HandlerNode) GetCollection() *api.APICollection
func (*HandlerNode) Start ¶
func (self *HandlerNode) Start()
Click to show internal directories.
Click to hide internal directories.