common

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 0 Imported by: 1

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
}

Jump to

Keyboard shortcuts

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