Documentation ¶
Overview ¶
Package store defines models and global methods to operate these models
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrivsToStr ¶
PrivsToStr converts privileges slice to string slice to simplify embedding
Types ¶
type Privilege ¶
type Privilege string
Privilege describes a user's privilege to perform some action
const ( PrivAddUsers Privilege = "add_users" PrivReadUsers Privilege = "read_users" PrivEditUsers Privilege = "edit_users" PrivListUsers Privilege = "list_users" )
Default user privileges
func StrToPrivs ¶
StrToPrivs converts string slice to privileges to simplify embedding
Directories ¶
Path | Synopsis |
---|---|
Package service wraps user interfaces with common logic unrelated to any particular user implementation.
|
Package service wraps user interfaces with common logic unrelated to any particular user implementation. |
Package user provides implementations for Interface for the database user repository.
|
Package user provides implementations for Interface for the database user repository. |
Click to show internal directories.
Click to hide internal directories.