user

package
v0.0.0-...-f2e39e4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Patch

type Patch struct {
	Unsubscribed *bool
	Name         *string
	Active       *bool
	Organisation *string
	Language     *language.Tag
}

Patch contains updates that can be performed to a user

type Profile

type Profile struct {
	ID        string     `json:"user_id"`
	Name      string     `json:"name"`
	Active    bool       `json:"active"`
	Joined    time.Time  `json:"joined"`
	LastLogin *time.Time `json:"lastLogin"`
}

Profile conveys information about a user within the system

type Settings

type Settings struct {
	Unsubscribed bool    `json:"unsubscribed"`
	Language     *string `json:"language"`
}

Settings contains options which can be adjusted by users

type U

type U struct {
	Profile      Profile  `json:"profile"`
	Settings     Settings `json:"settings"`
	Organisation string
}

U is a user within Impactasaurus

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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