package
1.5.1
Repository: https://github.com/staticbackendhq/core.git
Documentation: pkg.go.dev

# Functions

BuildQueryFilters helps building the proper slice of filters.
Collection returns a ready to use Database to perform DB operations on a specific type.
GetJWT returns a session token from a token.
Setup initializes the core services based on the configuration received.

# Variables

Cache initialized Volatilizer for cache and pub/sub.
Config reflect the configuration received on Setup.
DB initialized Persister data store.
Emailer initialized Mailer for sending emails.
Filestore initialized Storer for raw save/delete blob file.
Log initialized Logger for all logging.
Membership exposes Account and User functionalities like register, login, etc account and user functionalities.
Scheduler to execute schedule jobs (only on PrimaryInstance).
All StaticBackend services (need to call Setup before using them).
Storage exposes file storage functionalities.

# Structs

Database enables all CRUD and querying operations on a specific type.
FileStore exposes file functions.
MagicLinkData magic links for no-password sign-in.
PageResult wraps a slice of type T with paging information.
SavedFile when a file is saved it has an ID and an URL.
User handles everything related to accounts and users inside a database.