MCPcopy
hub / github.com/silenceper/wechat / DefaultJsTicket

Struct DefaultJsTicket

credential/default_js_ticket.go:18–24  ·  view source on GitHub ↗

DefaultJsTicket 默认获取js ticket方法

Source from the content-addressed store, hash-verified

16
17// DefaultJsTicket 默认获取js ticket方法
18type DefaultJsTicket struct {
19 appID string
20 cacheKeyPrefix string
21 cache cache.Cache
22 // jsAPITicket 读写锁 同一个AppID一个
23 jsAPITicketLock *sync.Mutex
24}
25
26// NewDefaultJsTicket new
27func NewDefaultJsTicket(appID string, cacheKeyPrefix string, cache cache.Cache) JsTicketHandle {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected