config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const EnvPrefix = "PROJDOCS"

Variables

View Source
var Mode = "debug"
View Source
var Version string = "0.0.0"

Functions

This section is empty.

Types

type Config

type Config struct {
	DatabaseURL string
	KongURL     string
	JWTKeys     jwk.Set
	S3          S3Config
	SafeConvert SafeConvert
}

func Get

func Get() (*Config, error)

func Init

func Init() (*Config, error)

func MustGet

func MustGet() *Config

type S3Config

type S3Config struct {
	AccessKey string
	SecretKey string
}

type SafeConvert added in v0.1.0

type SafeConvert struct {
	AccessToken string
	URL         string
}

Jump to

Keyboard shortcuts

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