Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MsgCtxTypeChannel message type channel MsgCtxTypeChannel = "channel" // MsgCtxTypeUS message type us MsgCtxTypeUS = "unixpacket" // ResourceTypeModule resource type module ResourceTypeModule = "module" // OperationTypeModule operation type module OperationTypeModule = "add" )
define channel type
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleInfo ¶
type ModuleInfo struct { ModuleName string ModuleType string // the below field ModuleSocket is only required for using socket. ModuleSocket }
ModuleInfo is module info
type ModuleSocket ¶
type ModuleSocket struct { IsRemote bool Connection interface{} // only for socket remote mode }
Click to show internal directories.
Click to hide internal directories.