api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIPlanMemAPI

type AIPlanMemAPI struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(isModule bool, pathOrAddr string) (*AIPlanMemAPI, error)

func (*AIPlanMemAPI) BlacklistToken

func (a *AIPlanMemAPI) BlacklistToken(signature []byte) error

func (*AIPlanMemAPI) Close

func (a *AIPlanMemAPI) Close() error

func (*AIPlanMemAPI) GetUserLastSeenTime

func (a *AIPlanMemAPI) GetUserLastSeenTime(userId uuid.UUID) (time.Time, error)

func (*AIPlanMemAPI) IsTokenBlacklisted

func (a *AIPlanMemAPI) IsTokenBlacklisted(signature []byte) (bool, error)

func (*AIPlanMemAPI) SaveEmailCode added in v1.0.7

func (a *AIPlanMemAPI) SaveEmailCode(userID uuid.UUID, newEmail string) (string, error)

EmailCodes methods

func (*AIPlanMemAPI) SaveUserLastSeenTime

func (a *AIPlanMemAPI) SaveUserLastSeenTime(userId uuid.UUID) error

func (*AIPlanMemAPI) VerifyEmailCode added in v1.0.7

func (a *AIPlanMemAPI) VerifyEmailCode(userID uuid.UUID, email, code string) (bool, error)

Jump to

Keyboard shortcuts

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