config

package
v0.0.0-...-5c67b2d Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 2 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 {
	EnableSites EnableSites `yaml:"enable_sites"`
}

func Load

func Load(path string) (*Config, error)

type EnableSiteConfig

type EnableSiteConfig struct {
	Vendor   string `yaml:"vendor"`
	Endpoint string `yaml:"endpoint"`
	Bucket   string `yaml:"bucket"`
}

type EnableSites

type EnableSites map[string]*EnableSiteConfig

Jump to

Keyboard shortcuts

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