common

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2019 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const MetricPrefix = "yitu"
View Source
const ModAppName = "app"
View Source
const ModEchoSessionName = "echosession"
View Source
const ModGinName = "gin"
View Source
const ModGinSessionName = "ginsession"
View Source
const ModLoggerName = "logger"
View Source
const ModMongoName = "mongo"
View Source
const ModMysqlName = "mysql"
View Source
const ModPromName = "prom"
View Source
const ModRedisName = "redis"
View Source
const ModStatName = "stat"
View Source
const ModTplBeegoName = "tplbeego"
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

Jump to

Keyboard shortcuts

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