Documentation ¶
Index ¶
- Variables
- func Connect(c *ishell.Context)
- func Greet(c *ishell.Context)
- func Init()
- func NewCallBack() inboundCommands.ICallBack
- func Request(c *ishell.Context)
- type CallBack
- func (cb *CallBack) ConnectFail(err error, params map[string]interface{})
- func (cb *CallBack) ConnectInactive(uID int64, currentChlCtx service.IChannelContext)
- func (cb *CallBack) ConnectSuccess(uID int64, currentChlCtx service.IChannelContext)
- func (cb *CallBack) MessageReceived(Ctx service.IChannelContext, Data protocol.IProtocol)
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentChlCtx service.IChannelContext
View Source
var UID int64
Functions ¶
func NewCallBack ¶
func NewCallBack() inboundCommands.ICallBack
Types ¶
type CallBack ¶
type CallBack struct{}
func (*CallBack) ConnectFail ¶ added in v1.0.2
ConnectFail called on executor routine
func (*CallBack) ConnectInactive ¶ added in v1.0.2
func (cb *CallBack) ConnectInactive(uID int64, currentChlCtx service.IChannelContext)
ConnectInactive called on executor routine
func (*CallBack) ConnectSuccess ¶
func (cb *CallBack) ConnectSuccess(uID int64, currentChlCtx service.IChannelContext)
ConnectSuccess called on executor routine
func (*CallBack) MessageReceived ¶
func (cb *CallBack) MessageReceived(Ctx service.IChannelContext, Data protocol.IProtocol)
MessageReceived called on executor routine
Click to show internal directories.
Click to hide internal directories.