configuration

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFlags

func SetFlags(cmd *cobra.Command)

Types

type Configuration

type Configuration struct {
	CSRFToken    string `mapstructure:"csrftoken" yaml:"csrftoken"`
	EOL          string `mapstructure:"eol" yaml:"eol"`
	UI           string `mapstructure:"uifile" yaml:"uifile"`
	DecodeBase64 bool   `mapstructure:"decodeb64" yaml:"decodeb64"`
	StatusCode   int    `mapstructure:"status" yaml:"status"`
	IncludeBody  bool   `mapstructure:"includebody" yaml:"includebody"`
}

func (*Configuration) Hydrate

func (c *Configuration) Hydrate() error

func (*Configuration) Validate

func (c *Configuration) Validate() error

Jump to

Keyboard shortcuts

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