user

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindOrCreateUser

func FindOrCreateUser(token string) (int, error)

Types

type User

type User struct {
	ID         int
	Email      string
	OauthToken string
	UUID       int64
	Identifier string
	AvatarURL  string
}

func LoginConfirm

func LoginConfirm(currentID int) (*User, error)

Jump to

Keyboard shortcuts

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