secret

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GIT_CRYPT_MAGIC_STRING = "\x00GITCRYPT"

Variables

This section is empty.

Functions

This section is empty.

Types

type Secrets

type Secrets struct {
	Wifi struct {
		HomeOrange WifiConfig `json:"home_orange"`
		HomeUpc    WifiConfig `json:"home_upc"`
	} `json:"wifi"`
}

func BestEffortReadSecrets

func BestEffortReadSecrets(homedir string) *Secrets

func ReadSecret

func ReadSecret(homedir string) (Secrets, error)

type WifiConfig

type WifiConfig struct {
	Ssid     string `json:"ssid"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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