dom

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package dom contains common domain (business-logic) entities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	UserID UserID
	Admin  bool
}

Auth should contain all authentication and authorization info needed to execute any operation on behalf of some user.

type UserID

type UserID int

UserID is a user ID.

const (
	NoUserID UserID = 0
)

Empty values.

Jump to

Keyboard shortcuts

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