Documentation
¶
Index ¶
- type OauthAccessTokenStorage
- func (this_ *OauthAccessTokenStorage) DeleteByName(name string) (res int64, err error)
- func (this_ *OauthAccessTokenStorage) GetByName(name string) (res *module_api.OauthAccessToken, err error)
- func (this_ *OauthAccessTokenStorage) Insert(in *module_api.OauthAccessToken) (res int64, err error)
- func (this_ *OauthAccessTokenStorage) Page(in *module_api.OauthAccessToken, pageNo int64, pageSize int64) (res []*module_api.OauthAccessToken, err error)
- func (this_ *OauthAccessTokenStorage) Query(in *module_api.OauthAccessToken) (res []*module_api.OauthAccessToken, err error)
- func (this_ *OauthAccessTokenStorage) Update(in *module_api.OauthAccessToken) (res int64, err error)
- func (this_ *OauthAccessTokenStorage) UpdateAccessToken(name string, accessToken string, expiresIn int64, expiresAt int64) (res int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OauthAccessTokenStorage ¶
type OauthAccessTokenStorage struct {
// contains filtered or unexported fields
}
func NewOauthAccessTokenStorage ¶
func NewOauthAccessTokenStorage(dbApi db.IService) *OauthAccessTokenStorage
func (*OauthAccessTokenStorage) DeleteByName ¶
func (this_ *OauthAccessTokenStorage) DeleteByName(name string) (res int64, err error)
func (*OauthAccessTokenStorage) GetByName ¶
func (this_ *OauthAccessTokenStorage) GetByName(name string) (res *module_api.OauthAccessToken, err error)
func (*OauthAccessTokenStorage) Insert ¶
func (this_ *OauthAccessTokenStorage) Insert(in *module_api.OauthAccessToken) (res int64, err error)
func (*OauthAccessTokenStorage) Page ¶
func (this_ *OauthAccessTokenStorage) Page(in *module_api.OauthAccessToken, pageNo int64, pageSize int64) (res []*module_api.OauthAccessToken, err error)
func (*OauthAccessTokenStorage) Query ¶
func (this_ *OauthAccessTokenStorage) Query(in *module_api.OauthAccessToken) (res []*module_api.OauthAccessToken, err error)
func (*OauthAccessTokenStorage) Update ¶
func (this_ *OauthAccessTokenStorage) Update(in *module_api.OauthAccessToken) (res int64, err error)
func (*OauthAccessTokenStorage) UpdateAccessToken ¶
Click to show internal directories.
Click to hide internal directories.