config

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath() string

Types

type Config

type Config struct {
	Nickname      string `json:"nickname"`
	DataDir       string `json:"data_dir"`
	PrivateKeyB64 string `json:"private_key_b64,omitempty"`
}

func Load

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

func (*Config) Save

func (c *Config) Save(path string) error

Jump to

Keyboard shortcuts

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