consts

package
v0.0.0-...-2692626 Latest Latest
Warning

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

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

Documentation

Overview

Package consts 常量

Index

Constants

View Source
const (
	BusChannelNumberDefault   = 1000000 //1000000 大约占用15.6MB
	ActorChannelNumberDefault = 1000    //1000 大约占用15.9KB
)
View Source
const (
	Success        = "success"         // 成功
	Failure        = "failure"         // 失败
	Available      = "available"       // 可用,有效
	NotAvailable   = "not-available"   // 不可用,无效
	Timeout        = "time out"        // 超时
	Retry          = "retry"           // 重试
	Existent       = "existent"        // 存在
	NonExistent    = "non-existent"    // 不存在
	GoroutinePanic = "goroutine panic" // 协程 panic
	GoroutineDone  = "goroutine done"  // 协程结束
	FunctionPanic  = "function panic"  // 函数 panic
	FunctionDone   = "function done"   // 函数结束
	NotExpect      = "not expect"      // 不是期望
	Enable         = "enable"          // 启用
	Disable        = "disable"         // 禁用
	Normal         = "normal"          // 正常
	Abnormal       = "abnormal"        // 不正常
	OutOfRange     = "out of range"    // 超出范围
	Etcd           = "etcd"            // Etcd
	Redis          = "redis"           // Redis
	Mongodb        = "mongodb"         // Mongodb
	Param          = "Parameter"       // 参数
	Unknown        = "unknown"         // 未知
)

Variables

This section is empty.

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