configz

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0, BSD-3-Clause Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(name string)

Delete delete's a config

func InstallHandler

func InstallHandler(m mux)

InstallHandler used to handle /configz endpoint

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config is the utility used to configure

func New

func New(name string) (*Config, error)

New creates a new config

func (*Config) MarshalJSON

func (v *Config) MarshalJSON() ([]byte, error)

MarshalJSON marshal the JSON

func (*Config) Set

func (v *Config) Set(val interface{})

Set set's up the config

Jump to

Keyboard shortcuts

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