param

package
v0.0.0-...-0714773 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init needs to be called at the start of a program (used to be init, but the conflicts with go.1.13)

func SetConfig

func SetConfig(file string)

SetConfig sets the config file

Types

type Config

type Config struct {
	ConfigFile     *string
	PidFile        *string
	CheckGLB       *bool
	CheckConfig    *bool
	CheckBackend   *bool
	CheckEndpoints *bool
	Debug          *bool
	Version        *bool
	BackendName    *string
	PoolName       *string
	DNSName        *string
	ClusterOnly    *bool
}

Config is the cmd parameter output

func Get

func Get() *Config

Get Allows you to get a parameter

Jump to

Keyboard shortcuts

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