options

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrostmourneOptions

type FrostmourneOptions struct {
	URL      string `json:"url,omitempty" mapstructure:"url"`
	Username string `json:"username,omitempty" mapstructure:"username"`
	Password string `json:"password,omitempty" mapstructure:"password"`
}

func NewFrostmourneOptions

func NewFrostmourneOptions() *FrostmourneOptions

func (*FrostmourneOptions) AddFlags

func (o *FrostmourneOptions) AddFlags(fs *pflag.FlagSet, prefixes ...string)

func (*FrostmourneOptions) Validate

func (o *FrostmourneOptions) Validate() []error

Jump to

Keyboard shortcuts

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