package
Version:
v0.0.0-...-b48969e
Opens a new window with list of versions in this module.
Published: Jan 8, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Auth interface {
Login(
ctx context.Context,
email string,
password string,
appID int,
) (token string, err error)
RegisterNewUser(
ctx context.Context,
email string,
password string,
) (userID int64, err error)
IsAdmin(ctx context.Context, userID int64) (bool, error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.