config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetViper

func GetViper() *viper.Viper

Types

type Config

type Config struct {
	Username           string `mapstructure:"username"`
	Hostname           string `mapstructure:"hostname"`
	Port               int    `mapstructure:"port"`
	SSHCommand         string `mapstructure:"ssh_command"`
	OTPCallbackCommand string `mapstructure:"otp_callback_command"`
	OTPShellCommand    string `mapstructure:"otp_shell_command"`
}

func Load

func Load(path string) (*Config, error)

Jump to

Keyboard shortcuts

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