config

package
v0.0.0-...-681e4f9 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProductStatusNormal       = 0 //商品状态正常
	ProductStatusSaleOut      = 1 //商品售罄
	ProductStatusForceSaleOut = 2 //商品强制售罄
)

Variables

View Source
var Logger log.Logger
View Source
var SkAppContext = &SkAppCtx{
	UserConnMap: make(map[string]chan *model.SecResult, 1024),
	SecReqChan:  make(chan *model.SecRequest, 1024),
}
View Source
var ZipkinTracer *zipkin.Tracer

Functions

This section is empty.

Types

type SkAppCtx

type SkAppCtx struct {
	SecReqChan       chan *model.SecRequest
	SecReqChanSize   int
	RWSecProductLock sync.RWMutex

	UserConnMap     map[string]chan *model.SecResult
	UserConnMapLock sync.Mutex
}

Jump to

Keyboard shortcuts

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