flag

package
v0.0.0-...-432d548 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFlagHandler

func NewFlagHandler(setter Setter) func(w http.ResponseWriter, r *http.Request)

NewFlagHandler creates a new http handler, to set flags to setter.

Types

type Setter

type Setter interface {
	Set(name, value string) error
}

Setter represents a FlagSet usually.

Jump to

Keyboard shortcuts

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