Help us shape the future of Go! Take the 2026 Go Developer Survey

configz

package
v0.63.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 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 any)

Set set's up the config

Jump to

Keyboard shortcuts

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