features

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogCrash loggers.Logger // 崩潰日誌物件
View Source
var LogSystem loggers.Logger // 系統日誌物件
View Source
var MeterAuth *metrics.Runtime // Auth訊息度量物件
View Source
var MeterConnect *metrics.Int // 連線度量物件
View Source
var MeterJson *metrics.Runtime // Json訊息度量物件
View Source
var MeterProto *metrics.Runtime // Proto訊息度量物件
View Source
var MeterRaven *metrics.Runtime // Raven訊息度量物件

Functions

func ConfigInitialize

func ConfigInitialize() (err error)

ConfigInitialize 初始化配置

func LoggerInitialize

func LoggerInitialize() (err error)

LoggerInitialize 初始化日誌

func MetricsInitialize

func MetricsInitialize() error

MetricsInitialize 初始化度量

func PoolInitialize

func PoolInitialize() (err error)

PoolInitialize 初始化執行緒池

Types

type MetricsConfig

type MetricsConfig struct {
	Port int `yaml:"port"` // 埠號
}

MetricsConfig 配置資料

Jump to

Keyboard shortcuts

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