config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Host string
	Port string
}

Configuration defines the configuration for the server.

func Configure

func Configure(opts Options) Configuration

Configure takes incoming parameters and determines if parameter should be used or environment variables.

type Options

type Options struct {
	Host string
	Port string
}

Options options defines the incoming options for Configure().

Jump to

Keyboard shortcuts

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