config

package
v0.0.0-...-83e20ab Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	UpdateInterval int    `json:"update_interval"`
	CheckHosts     string `json:"check_hosts"`
	MetricsPort    int    `json:"metrics_port"`
	CheckPort      int    `json:"check_port"`
	HostsMap       map[string]bool
	LocalIP        string
}

func NewConfig

func NewConfig() *Config

func (*Config) ConsulParse

func (o *Config) ConsulParse()

func (*Config) Parse

func (o *Config) Parse()

Jump to

Keyboard shortcuts

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