package
0.0.0-20190910020858-27f5e6591bb4
Repository: https://github.com/aarondl/ultimateq.git
Documentation: pkg.go.dev

# Functions

MakeFileStoreProvider is the default way to create a store by using the filename and trying to open it.
MemStoreProvider provides memory-only database stores.
NewAccess creates an access type with the permissions.
NewChannel instantiates a channel object.
NewChannelModes creates an empty ChannelModes.
NewModeDiff creates an empty ModeDiff.
NewState creates a state from an irc.NetworkInfo instance.
NewStore initializes a store type.
NewStoredChannel creates a new stored channel.
NewStoredUser requires username and password but masks are optional.
NewUser creates a user object from a nickname or fullhost.
NewUserModes creates a new usermodes using the metadata instance for reference information.

# Constants

The various kinds of mode-argument behavior during parsing.
The various kinds of mode-argument behavior during parsing.
The various kinds of mode-argument behavior during parsing.
The various kinds of mode-argument behavior during parsing.
These errors are in the AuthError.
These errors are in the AuthError.
These errors are in the AuthError.
BITS_IN_BYTE is to avoid pulling in unsafe and magic numbers.

# Variables

StoredUserPwdCost is the cost factor for bcrypt.

# Structs

Access defines an access level and flags a-zA-Z for a user.
AuthError is returned when a user failure occurs (bad password etc.) during authentication.
Channel encapsulates all the data associated with a channel.
ChannelModes encapsulates flag-based modestrings, setting and getting any modes and potentially using arguments as well.
ModeDiff encapsulates a difference of modes, a combination of both positive change modes, and negative change modes.
Self is the client's user, a special case since user modes must be stored.
State is the main data container.
StateUpdate is produced by the Update method to summarize the updates made to the database.
Store is used to store StoredUser objects, and cache their lookup.
StoredChannel stores attributes for channels.
StoredUser provides access for a user to the bot, networks, and channels.
User encapsulates all the data associated with a user.
UserModes provides basic modes for users.

# Interfaces

Provider can provide a state or store database upon request.

# Type aliases

AuthFailure is inside AuthErrors to describe why authentication failed.
DbProvider is a function that provides an internal database.
JSONStorer allows storage of normal strings and json values into a map.