config

package
v0.0.0-...-6f8bca6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Remotes   []Remote
	SecretKey string `toml:"secret_key"`
}

func ReadConfig

func ReadConfig() Config

type Remote

type Remote struct {
	Name      string
	URL       string
	Index     bool
	APIKey    string `toml:"api_key"`
	Write     bool
	ReadGroup uint
}

Jump to

Keyboard shortcuts

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