config

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecoderOptions added in v0.1.0

func DecoderOptions(config *mapstructure.DecoderConfig)

DecoderOptions enables necessary mapstructure decode hook functions

func SetDefaults

func SetDefaults()

SetDefaults sets config defaults

Types

type Config

type Config struct {
	Debug         bool
	Token         string
	AllowInsecure bool `mapstructure:"allow_insecure"`

	URLs struct {
		IAM       string
		Webspaced string
	}

	LastUpdateCheck time.Time `mapstructure:"last_update_check"`
}

Config represents the Netsoc CLI config

Jump to

Keyboard shortcuts

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