Versions in this module Expand all Collapse all v1 v1.0.2 May 8, 2026 Changes in this version + var OauthAccessTokenCacheLimit int = 0 + var OauthAccessTokenCacheTtl int64 = 1000 * 60 * 60 * 2 + type GenId struct + func NewGenId() *GenId + func (this_ *GenId) GenId() (res int64) + type OauthAccessTokenCache struct + func NewOauthAccessTokenCache() *OauthAccessTokenCache + func (this_ *OauthAccessTokenCache) Add(data *module_api.OauthAccessToken) + func (this_ *OauthAccessTokenCache) Get(name string) (res *module_api.OauthAccessToken) + func (this_ *OauthAccessTokenCache) GetIfPresent(token string) (res *module_api.OauthAccessToken) + type OauthAccessTokenService struct + func NewOauthAccessTokenService(httpService httpx.IService) *OauthAccessTokenService + func (this_ *OauthAccessTokenService) GetAccessToken(name string) (res string, err error)