structs

package
v0.0.0-...-6eca15d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	AccessCookieName string `toml:"api_access_cookie_name"`
	SigningToken     string `toml:"api_signing_token"`
}

Config is a structure containing global website configuration.

See the comments for Server and PageContext for more details.

type Admin

type Admin struct {
	AdminAccessCookieName string `toml:"api_admin_access_cookie_name"`
	Key0                  string `toml:"api_admin_key_0"`
	Key1                  string `toml:"api_admin_key_1"`
	Key2                  string `toml:"api_admin_key_2"`
	Key3                  string `toml:"api_admin_key_3"`
	TOTP                  string `toml:"api_admin_totp"`
	URL                   string `toml:"api_admin_url"`
}

Config is a structure containing global website configuration.

See the comments for Server and PageContext for more details.

type Config

type Config struct {
	Server   Server   `toml:"server"`
	Database Database `toml:"database"`
	Mail     Mail     `toml:"mail"`
}

Config is a structure containing global website configuration.

See the comments for Server and PageContext for more details.

type Database

type Database struct {
	Host     string `toml:"api_db_host"`
	Bucket   string `toml:"api_db_bucket"`
	User     string `toml:"api_db_user"`
	Password string `toml:"api_db_pass"`
	SSLMode  string `toml:"api_db_sslmode"`
}

Config is a structure containing global website configuration.

See the comments for Server and PageContext for more details.

type Mail

type Mail struct {
	Enabled  bool   `toml:"api_mail_enabled"`
	Host     string `toml:"api_mail_host"`
	User     string `toml:"api_mail_user"`
	Password string `toml:"api_mail_pass"`
	Port     int    `toml:"api_mail_port"`
}

Config is a structure containing global website configuration.

See the comments for Server and PageContext for more details.

type Server

type Server struct {
	Debug      bool       `toml:"api_debug"`
	Port       string     `toml:"api_port"`
	DomainName string     `toml:"api_domain_name"`
	Version    string     `toml:"api_version"`
	Commit     string     `toml:"api_commit"`
	Access     Access     `toml:"access"`
	Admin      Admin      `toml:"admin"`
	ServiceURL ServiceURL `toml:"service_url"`
}

Config is a structure containing global website configuration.

See the comments for Server and PageContext for more details.

type ServiceURL

type ServiceURL struct {
	AFC   string `toml:"api_service_url_afc"`
	BSWDI string `toml:"api_service_url_bswdi"`
	SSO   string `toml:"api_service_url_sso"`
}

Config is a structure containing global website configuration.

See the comments for Server and PageContext for more details.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL