config

package
v0.0.0-...-e6555c8 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Specification

type Specification struct {
	// Describes if the example clients are enabled
	ExampleEnabled bool `envconfig:"example_enabled"`
	// Describes the port number to use
	Port int `envconfing:"port" default:"8080"`
}

Describes system config setup

func Init

func Init() (*Specification, error)

Inits configuration

Jump to

Keyboard shortcuts

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