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

types

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	Validate() error
	PostProcess() error
}

type Duration added in v1.2.0

type Duration time.Duration

func (*Duration) Decode added in v1.2.0

func (d *Duration) Decode(value string) error

func (Duration) Duration added in v1.2.0

func (d Duration) Duration() time.Duration

func (Duration) MarshalJSON added in v1.2.0

func (d Duration) MarshalJSON() ([]byte, error)

func (Duration) MarshalText added in v1.2.0

func (d Duration) MarshalText() ([]byte, error)

func (Duration) String added in v1.2.0

func (d Duration) String() string

func (*Duration) UnmarshalJSON added in v1.2.0

func (d *Duration) UnmarshalJSON(value []byte) error

func (*Duration) UnmarshalText added in v1.2.0

func (d *Duration) UnmarshalText(value []byte) error

type Map

type Map map[string]string

func (*Map) Decode

func (m *Map) Decode(value string) error

type Password

type Password string

func (Password) MarshalJSON

func (p Password) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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