Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenSyncInfo ¶
type TokenSyncInfo struct { sync.RWMutex // mutex protects Token only, all other fields are written on initialization only Token string Application string RefreshToken string ServerURL string }
func (*TokenSyncInfo) GetToken ¶
func (ts *TokenSyncInfo) GetToken() (token string)
func (*TokenSyncInfo) GetTokenLocked ¶
func (ts *TokenSyncInfo) GetTokenLocked() (token string)
func (*TokenSyncInfo) SetApplication ¶
func (ts *TokenSyncInfo) SetApplication(application string)
func (*TokenSyncInfo) UpdateToken ¶
func (ts *TokenSyncInfo) UpdateToken(token string)
func (*TokenSyncInfo) UpdateTokenLocked ¶
func (ts *TokenSyncInfo) UpdateTokenLocked(token string)
Click to show internal directories.
Click to hide internal directories.