config

package
v0.0.0-...-e48602c Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opts

type Opts struct {
	HTTPPort    int    `default:"80"           split_words:"true"`
	HTTPSPort   int    `default:"443"          split_words:"true"`
	TLSCertPath string `default:"./server.crt" split_words:"true"`
	TLSKeyPath  string `default:"./server.key" split_words:"true"`
}

Opts ...

func Load

func Load(envfile string) (opts Opts, err error)

Load the configuration

Jump to

Keyboard shortcuts

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