config

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsolidateConfig

func ConsolidateConfig() (opts *happydns.Options, err error)

ConsolidateConfig fills an Options struct by reading configuration from config files, environment, then command line.

Should be called only one time.

func ExtendsConfigWithOIDC added in v0.4.1

func ExtendsConfigWithOIDC(o *happydns.Options) error

Types

type JWTSecretKey

type JWTSecretKey struct {
	Secret *[]byte
}

func (*JWTSecretKey) Set

func (i *JWTSecretKey) Set(value string) error

func (*JWTSecretKey) String

func (i *JWTSecretKey) String() string

type URL

type URL struct {
	URL *url.URL
}

func (*URL) Set

func (i *URL) Set(value string) error

func (*URL) String

func (i *URL) String() string

Source Files

  • cli.go
  • config.go
  • custom.go
  • env.go
  • file.go
  • oidc.go

Jump to

Keyboard shortcuts

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