api_storage

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 (*OauthAccessTokenStorage) Update

func (this_ *OauthAccessTokenStorage) Update(in *module_api.OauthAccessToken) (res int64, err error)

func (*OauthAccessTokenStorage) UpdateAccessToken

func (this_ *OauthAccessTokenStorage) UpdateAccessToken(name string, accessToken string, expiresIn int64, expiresAt int64) (res int64, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL