initialization

package
v0.0.0-...-8a2fbe7 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AppName = "ip-resolver"

Variables

View Source
var AppVersion string

Functions

func InitConfig

func InitConfig(cfg interface{})

InitConfig reads in config file and ENV variables if set.

Types

type Config

type Config struct {
	Port int `mapstructure:"server_port" default:"8080"`
}

Jump to

Keyboard shortcuts

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