users

package
v0.0.0-...-dea11c1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJwtFromUuid

func GetJwtFromUuid(uuid string) (string, error)

func GetUserUuidFromJwt

func GetUserUuidFromJwt(tokenString string) (string, error)

Types

type User

type User struct {
	Uuid string
	Name string
}

func GetUserByUuid

func GetUserByUuid(uuid string) (*User, error)

func NewUser

func NewUser(name string) *User

func (User) GetJwt

func (u User) GetJwt() (string, error)

Jump to

Keyboard shortcuts

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