config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAPIURL = "https://api.cubepath.com"
)

Variables

This section is empty.

Functions

func APIURL

func APIURL() string

func Dir

func Dir() string

func Path

func Path() string

func Save

func Save(cfg *Config) error

Types

type Config

type Config struct {
	APIToken string `json:"api_token"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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