Documentation ¶
Overview ¶
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
- type AccessTokenRepository
- func (repo *AccessTokenRepository) AccountID() account.ID
- func (repo *AccessTokenRepository) List(ctx context.Context, pager *datatypes.Pager) ([]account.AccessToken, error)
- func (repo *AccessTokenRepository) Record(ctx context.Context, id datatypes.SFID, desc string, expiresAt time.Time) error
- func (v AccessTokenRepository) RuntimeDoc(names ...string) ([]string, bool)
- type AccountExchanger
- type AccountRepository
- func (repo *AccountRepository) Add(ctx context.Context, accountType account.Type) (*account.Account, error)
- func (repo *AccountRepository) GetUser(ctx context.Context, accountID account.ID) (*account.User, error)
- func (repo *AccountRepository) ListUserAccount(ctx context.Context, params account.UserQueryParams) (*account.UserDataList, error)
- func (repo *AccountRepository) PutRobot(ctx context.Context, robotInfo account.RobotInfo, accountID account.ID) (*account.Robot, error)
- func (repo *AccountRepository) PutUser(ctx context.Context, userInfo account.UserInfo, accountID account.ID) (*account.User, error)
- func (repo *AccountRepository) RangeIdentity(ctx context.Context, accountIDs []account.ID, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenRepository ¶
func NewAccessTokenRepository ¶
func NewAccessTokenRepository(a *account.Account) *AccessTokenRepository
func (*AccessTokenRepository) AccountID ¶
func (repo *AccessTokenRepository) AccountID() account.ID
func (*AccessTokenRepository) List ¶
func (repo *AccessTokenRepository) List(ctx context.Context, pager *datatypes.Pager) ([]account.AccessToken, error)
func (AccessTokenRepository) RuntimeDoc ¶
func (v AccessTokenRepository) RuntimeDoc(names ...string) ([]string, bool)
type AccountExchanger ¶
type AccountExchanger struct {
*AccountRepository
}
func NewAccountExchanger ¶
func NewAccountExchanger() *AccountExchanger
func (AccountExchanger) RuntimeDoc ¶
func (v AccountExchanger) RuntimeDoc(names ...string) ([]string, bool)
type AccountRepository ¶
type AccountRepository struct { }
func NewAccountRepository ¶
func NewAccountRepository() *AccountRepository
func (*AccountRepository) ListUserAccount ¶
func (repo *AccountRepository) ListUserAccount(ctx context.Context, params account.UserQueryParams) (*account.UserDataList, error)
Click to show internal directories.
Click to hide internal directories.