cmdtype

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Up is a constant variable for command "UP"
	Up string = "UP"

	// Down is a constant variable for command "DOWN"
	Down string = "DOWN"

	// EnableEncryption is a constant variable for command "ENABLE_ENCRYPTION"
	EnableEncryption string = "ENABLE_ENCRYPTION"

	// DisableEncryption is a constant variable for command "DISABLE_ENCRYPTION"
	DisableEncryption string = "DISABLE_ENCRYPTION"
)

Variables

This section is empty.

Functions

func BuildCommandMessage

func BuildCommandMessage(commandType string) string

BuildCommandMessage represents a function to build a message with a command.

func ParseCommandMessage

func ParseCommandMessage(message string) string

ParseCommandMessage represents a function to parse a command from a message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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