config

package
v0.0.0-...-f98e9bb Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Module

func Module(module common.Module)

Types

type Config

type Config struct {
	Schema  string         `json:"$schema"`
	Web     web.Config     `json:"web"`
	Logging logging.Config `json:"logging"`
	Metrics metrics.Config `json:"metrics"`
}

func DefaultConfig

func DefaultConfig() Config

func EnvConfig

func EnvConfig() Config

func FileConfig

func FileConfig() Config

type HttpTlsConfig

type HttpTlsConfig struct {
	Enabled *bool `json:"enabled"`
}

func (*HttpTlsConfig) Merge

func (config *HttpTlsConfig) Merge(other *HttpTlsConfig) *HttpTlsConfig

Jump to

Keyboard shortcuts

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