user

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenTimeout = time.Minute * 2

Functions

This section is empty.

Types

type User

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

func NewUser

func NewUser(address string, priKey, pubKey []byte) *User

func (*User) GetUID

func (u *User) GetUID() string

func (*User) GetUsername

func (u *User) GetUsername() string

func (*User) SetUsername

func (u *User) SetUsername(username string)

func (*User) Token

func (u *User) Token() string

Jump to

Keyboard shortcuts

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