user

package
v0.0.0-...-1599866 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID       string    `json:"id"`
	Name     string    `json:"name"`
	Mail     string    `json:"mail"`
	Password string    `json:"password"`
	Clients  *[]string `json:"clients"`
	Admin    bool      `json:"admin"`
}

User represents all information of a user

type Users

type Users struct {
	Users *[]*User `json:"users"`
}

Users represents a list of all users

func NewUsers

func NewUsers() *Users

NewUsers returns a new Users struct

Jump to

Keyboard shortcuts

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