config

package
v0.0.0-...-aa0c761 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Mailbox     string
	TTL         time.Duration
	LogLevel    string
	BindAddress string
	Users       map[string][32]byte
	PDF         string
}

Config contains all info from JSON file...

func NewConfig

func NewConfig(configPath string, pdfPath string) (*Config, error)

NewConfig creates config and adjusts values from JSON

Jump to

Keyboard shortcuts

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