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