user

package
v0.0.0-...-a96ba29 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToLimitUsed

func AddToLimitUsed(userID, size uint64) error

func GetAccessPass

func GetAccessPass(accessPass string) (*entities.AccessPass, error)

func GetAccessPasses

func GetAccessPasses(userID uint64) ([]entities.AccessPass, error)

func GetUser

func GetUser(userID uint64) (*entities.User, error)

func GetUserByAccessPass

func GetUserByAccessPass(accessPass string) (*entities.User, error)

func NewAccessPass

func NewAccessPass(userID uint64, pass, apType string) error

func NewUser

func NewUser(user entities.User, accessPass, apType string) (*entities.User, error)

func RemoveAccessPass

func RemoveAccessPass(userID uint64, pass string) error

func SubtractFromLimitUsed

func SubtractFromLimitUsed(userID, size uint64) error

func UpdateName

func UpdateName(body *entities.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