models

package
v0.0.0-...-c0ea003 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 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 {
	UserId    string
	Activated bool
	Role      string
}

type UserRegistration

type UserRegistration struct {
	Id           string `json:"id"`
	FirstName    string `json:"firstname"`
	LastName     string `json:"lastname"`
	Email        string `json:"email"`
	Username     string `json:"username"`
	Password     string `json:"password"`
	PrivacyLevel int    `json:"privacylevel"`
}

type UserWithPrivacy

type UserWithPrivacy struct {
	Activated    bool
	PrivacyLevel int
}

Jump to

Keyboard shortcuts

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