config

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

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

Go to latest
Published: Jun 8, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDemo

func LoadDemo(file string)

func MapEntity

func MapEntity() map[string]interface{}

Types

type Config

type Config struct {
	Hosts map[string]Host `json:"hosts"`
}

func ScanEntity

func ScanEntity() Config

type Host

type Host struct {
	Address string `json:"address"`
	Port    int    `json:"port"`
}

Jump to

Keyboard shortcuts

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