config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr               string `json:"addr"`
	Data               string `json:"data"`
	DB                 string `json:"db"`
	Uploads            string `json:"uploads"`
	PublicURL          string `json:"public_url"`
	DevBootstrap       bool   `json:"dev_bootstrap"`
	GitHubClientID     string `json:"github_client_id"`
	GitHubClientSecret string `json:"github_client_secret"`
	GitHubAllowedOrg   string `json:"github_allowed_org"`
	GitHubModeratorOrg string `json:"github_moderator_org"`
	PushoverAPIToken   string `json:"pushover_api_token"`
	R2AccountID        string `json:"r2_account_id"`
	R2AccessKeyID      string `json:"r2_access_key_id"`
	R2SecretAccessKey  string `json:"r2_secret_access_key"`
	R2Endpoint         string `json:"r2_endpoint"`
}

func Defaults

func Defaults() Config

func Load

func Load(path string) (Config, error)

Jump to

Keyboard shortcuts

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