types

package
v1.8.65 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAccountable added in v1.8.62

type IAccountable interface {
	Account() int64
}

type IUserContainer

type IUserContainer interface {
	// ID is the unique identifier for the user
	ID() int64
	// Account returns the AccountID for the user
	Account() int64
	// Activated returns whether or not the user is activated
	Activated() bool
	// Disabled returns whether or not the user is disabled
	Disabled() bool
	// Locked returns whether or not th user is locked
	Locked() bool
	// Permissions returns a slice of permission names
	Permissions() []string
}

type IUserable added in v1.8.62

type IUserable interface {
	User() int64
}

Jump to

Keyboard shortcuts

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