hzconfig

package
v0.0.0-...-2f4042c Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFileName

func GetConfigFileName() string

func GetHostEnv

func GetHostEnv() (string, string)

func GetPortEnv

func GetPortEnv() (string, string)

Types

type Configuration

type Configuration struct {
	Host string `env:"HZPASTE_HOST"`
	Port string `env:"HZPASTE_PORT"`
}

func InitConfig

func InitConfig() Configuration

Jump to

Keyboard shortcuts

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