config

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Types

type Config

type Config struct {
	HTTP        http              `koanf:"http"`
	Database    databaseConfig    `koanf:"database"`
	JWT         jwtConfig         `koanf:"jwt"`
	Storage     storageConfig     `koanf:"storage"`
	Attachments attachmentsConfig `koanf:"attachments"`
}

func Default

func Default() Config

func New

func New() (Config, error)

Jump to

Keyboard shortcuts

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