ec

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: GPL-3.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DEBUG = iota
	ERROR
	WARN
)

LEVEL

Variables

This section is empty.

Functions

func Close

func Close()

Close 关掉ec

func Debug

func Debug(fmtstr string, v ...interface{})

Debug 用来打印输出debug信息

func Errorf added in v1.0.7

func Errorf(fmtStr string, v ...interface{})

Errorf ...

func GetECStatus

func GetECStatus() bool

GetECStatus 返回ec是否可用

func GetLogInfo added in v1.0.7

func GetLogInfo(c *gin.Context)

func PostLogInfo added in v1.0.7

func PostLogInfo(c *gin.Context)

PostLogInfo ...

func ResetECStatus

func ResetECStatus()

ResetECStatus ...

func SetECStatus

func SetECStatus()

SetECStatus ...

func Warnf added in v1.0.7

func Warnf(fmtStr string, v ...interface{})

Warnf ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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