config

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package config load and save user config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(cfg Config, profile string) error

Save saves config to file.

Types

type Config

type Config struct {
	AppIDURI                    string
	AzureTenantID               string
	DefaultSessionDurationHours int
	ChromeUserDataDir           string
}

Config is this tool's configuration

func NewConfig

func NewConfig(profile string) (Config, error)

NewConfig returns Config from default AWS config file

Jump to

Keyboard shortcuts

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