common

package
v0.5.16 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package common some common define

Index

Constants

View Source
const (
	ChannelClose = iota
	ChannelRunning
	ChannelReconnect
)
View Source
const (
	NetworkClose = iota
	NetworkPending
	NetworkRunning
)

Variables

View Source
var (
	ErrChannelInvalid     = errors.New("[ServiceBox] Invalid Box Channel")
	ErrChannelNotRun      = errors.New("[ServiceBox] Channel not running")
	ErrChannelConn        = errors.New("[ServiceBox] conn error")
	ErrServiceFinderConn  = errors.New("[ServiceBox] connect to zookeeper service error ")
	ErrFindServiceTimeout = errors.New("[ServiceBox] send find-service command to channel timeout ")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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