common

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const MetricPrefix = "i2eco"
View Source
const ModAppName = "app"
View Source
const ModCmdName = "cmd"
View Source
const ModEchoSessionName = "echosession"
View Source
const ModEtcdName = "etcd"
View Source
const ModGinName = "gin"
View Source
const ModGinSessionName = "ginsession"
View Source
const ModLoggerName = "logger"
View Source
const ModMixCacheName = "mixcache"
View Source
const ModMongoName = "mongo"
View Source
const ModMysqlName = "mysql"
View Source
const ModOpenGithubName = "opengithub"
View Source
const ModOssName = "oss"
View Source
const ModPromName = "prom"
View Source
const ModRedisName = "redis"
View Source
const ModStatName = "stat"
View Source
const ModTokenName = "token"
View Source
const ModTplBeegoName = "tplbeego"
View Source
const ModWechatName = "etcd"
View Source
const SystemLogger = "system"

Variables

This section is empty.

Functions

This section is empty.

Types

type Caller

type Caller interface {
	// Init cfg returns parse cfg error.
	InitCfg(cfg []byte) error
	// Init Caller returns init caller error
	InitCaller() error
}

type CallerFunc

type CallerFunc func() Caller

type Duration

type Duration struct {
	time.Duration
}

func (*Duration) UnmarshalText

func (d *Duration) UnmarshalText(text []byte) error

type PostRunFunc

type PostRunFunc func() error

type PreRunFunc

type PreRunFunc func() error

Jump to

Keyboard shortcuts

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