config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AuthorizationHeader string
	Url                 string
)

Functions

func BasicAuth

func BasicAuth(user, password string) string

func GetProfiles

func GetProfiles() map[string]ini.Section

func GetToken

func GetToken(cmd string) string

func WriteConfig

func WriteConfig()

Types

type Options

type Options struct {
	// default section name. default "__default"
	DefSection string
}

Jump to

Keyboard shortcuts

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