Versions in this module Expand all Collapse all v0 v0.7.0 Nov 21, 2026 Changes in this version + const LatestVersion + func APIKeyFile(root string) string + func ReadAPIKeyFile(path string) (string, error) + type API struct + func New(store *lib.InitStore, keys *tokens.Manager, bearer Authenticator) *API + func (a *API) Register(app *fiber.App) + type Authenticator func(token string) bool + type FileResult int + const FileIgnored + const FileKnown + const FileNone + const FileStored + func ImportAPIKeyFile(keys *tokens.Manager, path string) (FileResult, error) + type Response struct + Code int + Data any + Message string