globalconfig

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigDir

func GetConfigDir() (string, error)

func SetWorldForgeToken added in v1.2.9

func SetWorldForgeToken(name string, token string) error

func SetupConfigDir

func SetupConfigDir() error

Types

type Credential added in v1.2.9

type Credential struct {
	Token string `json:"token"`
	Name  string `json:"name"`
}

func GetWorldForgeCredential added in v1.2.9

func GetWorldForgeCredential() (Credential, error)

Jump to

Keyboard shortcuts

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