constants

package
v0.0.0-...-cb2ae7d Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigPath string = "./resources/config.yml"
)

Variables

View Source
var (
	//msg validate fail
	MsgValidateErrEmpty         = errors.New("msg is empty")
	MsgValidateErrHeaderEmpty   = errors.New("msg header is empty")
	MsgValidateErrMsgTypeEmpty  = errors.New("msg header msgType is empty")
	MsgValidateErrUserInfoEmpty = errors.New("msg header userInfo is empty")

	MsgProcessorNotFound = errors.New("msg processor not found")
	ServicesNotAvailable = errors.New("services not available")

	ConfigServicesNotFound = errors.New("config services not found")
)

--------- datapack.Message error------

Functions

This section is empty.

Types

type ConnState

type ConnState uint16
const (
	ConnStateInit ConnState = iota
	ConnStateInAuth
	ConnStateReady
	ConnStateClosed
)

Jump to

Keyboard shortcuts

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