config

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigPath

func GetConfigPath() string

func LoadConfigFile

func LoadConfigFile(filename string, config *Configuration) error

Types

type Configuration

type Configuration struct {
	Entries []*ConfigurationEntry `json:"entries"`
}

type ConfigurationEntry

type ConfigurationEntry struct {
	Typ         string `json:"typ"`
	Username    string `json:"username"`
	Token       string `json:"token"`
	URL         string `json:"url"`
	DisplayName string `json:"display_name"`
}

Jump to

Keyboard shortcuts

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