constants

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpanLogKeyKey    = "key"
	SpanLogCacheType = "cache"
	SpanLogOp        = "op"
)
View Source
const (
	DefaultRouteGroup = "default"

	DefaultRedisWrapper = ""
)
View Source
const (
	CacheDirtyExpireTime = time.Second * 60
)

Variables

View Source
var RedisNil = fmt.Sprintf("redis: nil")

Functions

This section is empty.

Types

type CacheType

type CacheType int
const (
	CacheTypeRedis CacheType = iota
)

func (CacheType) String

func (t CacheType) String() string

type ConfigerType

type ConfigerType int
const (
	ConfigerTypeSimple ConfigerType = iota
	ConfigerTypeEtcd
	ConfigerTypeApollo
)

func (ConfigerType) String

func (c ConfigerType) String() string

Jump to

Keyboard shortcuts

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