flags

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateMode

type CreateMode struct {
	Raw   string
	Value string
}

func (*CreateMode) Set

func (f *CreateMode) Set(s string) error

func (*CreateMode) String

func (f *CreateMode) String() string

func (*CreateMode) Type

func (f *CreateMode) Type() string

func (*CreateMode) UnmarshalYAML

func (f *CreateMode) UnmarshalYAML(node *yaml.Node) error

type Duration

type Duration struct {
	Raw   string
	Value time.Duration
}

func (Duration) MarshalJSON

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

func (*Duration) Set

func (f *Duration) Set(s string) error

func (*Duration) String

func (f *Duration) String() string

func (*Duration) Type

func (f *Duration) Type() string

func (*Duration) UnmarshalJSON

func (f *Duration) UnmarshalJSON(data []byte) error

func (*Duration) UnmarshalYAML

func (f *Duration) UnmarshalYAML(node *yaml.Node) error

type LogLevel

type LogLevel struct {
	Raw   string
	Value slog.Level
}

func (*LogLevel) Set

func (f *LogLevel) Set(s string) error

func (*LogLevel) String

func (f *LogLevel) String() string

func (*LogLevel) Type

func (f *LogLevel) Type() string

func (*LogLevel) UnmarshalYAML

func (f *LogLevel) UnmarshalYAML(node *yaml.Node) error

Jump to

Keyboard shortcuts

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