message

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2019 License: BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL