config

package
v0.0.0-...-177a8f4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Path     = "myPath"
	Version  = "1.1.1"
	Hostname = "localhost"
	Port     = 3000
)

configuration in simple variables

Functions

This section is empty.

Types

type Config

type Config struct {
	Path     string
	Version  string
	Hostname string
	Port     int
}

Config degines configuration of some kind

func New

func New() *Config

New creates a new config using defined defaults

Jump to

Keyboard shortcuts

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