config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	AccessToken string `json:"access_token"`
	BackendURL  string `json:"backend_url"`
}

func New

func New() AppConfig

func ReadConfigFile

func ReadConfigFile() (AppConfig, error)

func (*AppConfig) WriteConfigFile

func (c *AppConfig) WriteConfigFile() error

Jump to

Keyboard shortcuts

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