settings

package
v0.0.0-...-2b46327 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	DisplayHost        string
	Address            string
	Username           string
	Password           string
	SSLCertificatePath string
	SSLKeyPath         string

	Variables map[string]string
}

func (*Settings) CheckForCerts

func (s *Settings) CheckForCerts() error

type SettingsDB

type SettingsDB struct {
	Path string
}

func (*SettingsDB) AddVariable

func (s *SettingsDB) AddVariable(k string, v string) error

func (*SettingsDB) DeleteVariable

func (s *SettingsDB) DeleteVariable(k string) error

func (*SettingsDB) GetSettings

func (s *SettingsDB) GetSettings() *Settings

func (*SettingsDB) Save

func (s *SettingsDB) Save(settings Settings) error

Jump to

Keyboard shortcuts

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