config

package
v0.0.0-...-1dfe9cd Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() (string, error)

LoadConfig loads the host from the config file

func LoadToken

func LoadToken(host string) (string, error)

LoadToken loads the token from the keyring

func SaveConfig

func SaveConfig(host string) error

SaveConfig saves the host to the config file

func SaveToken

func SaveToken(host, token string) error

SaveToken saves the token to the keyring

Types

This section is empty.

Jump to

Keyboard shortcuts

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