config

package
v0.0.0-...-7a648d5 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 6 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 {
	Sentry    string
	Storage   *storage.Storage
	Providers []*provider.Provider
	ACL       map[string][]string
}

func Parse

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

type Wrapper

type Wrapper struct {
	Sentry    string                   `yaml:"sentry"`
	Storage   map[string]interface{}   `yaml:"storage"`
	Providers []map[string]interface{} `yaml:"providers"`
	ACL       map[string][]string      `yaml:"acl"`
}

Jump to

Keyboard shortcuts

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