MCPcopy Create free account
hub / github.com/Preloading/TwitterAPIBridge / TokenLockManager

Struct TokenLockManager

twitterv1/auth.go:419–421  ·  view source on GitHub ↗

Some stuff to avoid refreshing race conditions

Source from the content-addressed store, hash-verified

417// Some stuff to avoid refreshing race conditions
418
419type TokenLockManager struct {
420 locks sync.Map
421}
422
423type lockInfo struct {
424 mutex *sync.Mutex

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected