Documentation ¶
Index ¶
- func HandleClientConfigMessage(ctx *context.LegscContext, msg *message.ClientConfigure)
- func HandleCommandMessage(ctx *context.LegscContext, msgBytes []byte)
- func HandleConfigureMessage(ctx *context.LegscContext, messageBytes []byte)
- func HandleConsoleMessage(ctx *context.LegscContext, msgBytes []byte)
- func HandleMessage(ctx *context.LegscContext, messageBytes []byte)
- func HandleProxyMessage(ctx *context.LegscContext, msgBytes []byte)
- func HandleTransferMessage(ctx *context.LegscContext, msgBytes []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleClientConfigMessage ¶
func HandleClientConfigMessage(ctx *context.LegscContext, msg *message.ClientConfigure)
HandleClientConfigMessage handling message of client-config from server
func HandleCommandMessage ¶
func HandleCommandMessage(ctx *context.LegscContext, msgBytes []byte)
HandleCommandMessage handle a command message receiving from server.
func HandleConfigureMessage ¶
func HandleConfigureMessage(ctx *context.LegscContext, messageBytes []byte)
HandleConfigureMessage handle a configure message receiving from server.
func HandleConsoleMessage ¶
func HandleConsoleMessage(ctx *context.LegscContext, msgBytes []byte)
HandleConsoleMessage handles console message from server
func HandleMessage ¶
func HandleMessage(ctx *context.LegscContext, messageBytes []byte)
HandleMessage handle a message from server. This method routing to message handlers by message types.
func HandleProxyMessage ¶
func HandleProxyMessage(ctx *context.LegscContext, msgBytes []byte)
HandleProxyMessage handles proxy message
func HandleTransferMessage ¶
func HandleTransferMessage(ctx *context.LegscContext, msgBytes []byte)
HandleTransferMessage : TODO
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.