Documentation ¶
Index ¶
- type TokenRewriteDataBase
- func (d *TokenRewriteDataBase) UpsertDevice(ctx context.Context, userID, deviceID, displayName string) error
- func (d *TokenRewriteDataBase) UpsertToken(ctx context.Context, id int64, userID, deviceID, token string) error
- func (d *TokenRewriteDataBase) UpsertUser(ctx context.Context, userID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenRewriteDataBase ¶
type TokenRewriteDataBase struct {
// contains filtered or unexported fields
}
func NewTokenRewriteDataBase ¶
func NewTokenRewriteDataBase(dataSourceName string) (*TokenRewriteDataBase, error)
func (*TokenRewriteDataBase) UpsertDevice ¶
func (d *TokenRewriteDataBase) UpsertDevice( ctx context.Context, userID, deviceID, displayName string, ) error
func (*TokenRewriteDataBase) UpsertToken ¶
func (*TokenRewriteDataBase) UpsertUser ¶
func (d *TokenRewriteDataBase) UpsertUser( ctx context.Context, userID string, ) error
Click to show internal directories.
Click to hide internal directories.