user

package
v1.0.40 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(githubId int64, username string, role int) (*types.User, error)

func GetAll

func GetAll() (types.Users, error)

func GetByGithubId

func GetByGithubId(id int64) (*types.User, error)

func GetById

func GetById(id int) (*types.User, error)

func GetByUsername

func GetByUsername(username string) (*types.User, error)

func LoginAt

func LoginAt(id int) error

func Upsert added in v1.0.24

func Upsert(githubId int64, username string, role int) (*types.User, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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