config

package
v0.0.0-...-28c7979 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(fileName string) error

Types

type Configuration

type Configuration struct {
	Listen struct {
		ServerAddr string `json:"ServerAddr"`
		ServerPort string `json:"ServerPort"`
	} `json:"Listen"`
	SessionKey string `json:"session-key"`
}

Haobo : Auto generated from https://mholt.github.io/json-to-go/

var Config Configuration

Jump to

Keyboard shortcuts

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