domain

package
Version: v0.0.0-...-1a7bac6 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: AGPL-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 Organization

type Organization struct {
	OrganizationID string `json:"orgid"`
	Name           string `json:"name"`
}

Organization holds details of the organization

type OrganizationCreate

type OrganizationCreate struct {
	Name    string `json:"name"`
	Country string `json:"country"`
}

OrganizationCreate holds details of the organization creation request

type User

type User struct {
	ID       int64  `json:"id"`
	Username string `json:"username"`
	Name     string `json:"name"`
	Email    string `json:"email"`
	Role     int    `json:"role"`
}

User holds user personal, authentication and authorization info

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL