flags

package
v0.0.0-...-5561049 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBoolean

func DecodeBoolean(vals map[string][]string, name string) bool

func DecodeTags

func DecodeTags(vals map[string][]string) map[string]string

Decodes tags of the form "tag=key:value"

func DecodeValue

func DecodeValue(vals map[string][]string, name string) string

func ParseDuration

func ParseDuration(vals url.Values, prop string, def time.Duration) time.Duration

Types

type Uri

type Uri struct {
	Key string
	Val url.URL
}

func (*Uri) Set

func (u *Uri) Set(value string) error

func (*Uri) String

func (u *Uri) String() string

type Uris

type Uris []Uri

func (*Uris) Set

func (us *Uris) Set(value string) error

func (*Uris) String

func (us *Uris) String() string

func (*Uris) Type

func (us *Uris) Type() string

Jump to

Keyboard shortcuts

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