user

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2018 License: GPL-3.0 Imports: 3 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	DisplayName      string
	Name             string
	EMail            string
	Password         string
	RegistrationDate time.Time
}

The User struct contains information to represent a user in the system

func New

func New(display, account, email, password string) User

New creates a new user

func (User) ID

func (u User) ID() id.ActorID

ID returns the ID struct identifying this user

Jump to

Keyboard shortcuts

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