package
0.3.0
Repository: https://github.com/zicare/rgm.git
Documentation: pkg.go.dev

# Functions

Meant to be executed on startup, Init loads the acl map in memory.
No description provided by the author
No description provided by the author
No description provided by the author
QueryOptsFactory exported.
Works on structs with two tag sets, let's call them target and pivot.
Returns the authenticated UID or empty string if authentication was skipped.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DuplicatedEntry exported.
ExpiredCredentials exported.
ExpiredPIN exported.
ForeignKeyConstraint exported.
Grant exported.
InsertError exported.
InvalidCredentials exported.
InvalidPIN exported.
NotAllowedError exported.
NotFoundError exported.
No description provided by the author
No description provided by the author
QueryOpts exported.
No description provided by the author
TagError exported.
TimeRange exported.
UpdateError exported.
User exported.
ValidationError exported.

# Interfaces

Defines an interface for ACL data access.
IDataSource defines an interface for resource data access.
IPinDataSource defines an interface to post pins and patch passwords using a pin.
Defines an interface to retrieve user data and modify password.

# Type aliases

Acl exported.
AclDSFactory makes a IAclDataSource from a generic dsrc IDataSource.
No description provided by the author
No description provided by the author
AclDSFactory makes a IPinDataSource from generic p(pin) and u(user) IDataSource's.
UserDSFactory makes a IUserDataSource from a generic dsrc IDataSource.
ValidationErrors exported.