conf

package
v0.0.0-...-48e2326 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	SC struct {
		Username string `required:"true"`
		Password string `required:"true"`
	}
	DB struct {
		Username string `required:"true"`
		Password string `required:"true"`
		URI      string `required:"true"`
	}
	Netlify struct {
		BuildHook string `split_words:"true" required:"true"`
	}
	MyJSON struct {
		BucketID string `split_words:"true" required:"true"`
	}
}

Configuration holds configuration struct

func Load

func Load(filename string) (*Configuration, error)

Load loads configuration

Jump to

Keyboard shortcuts

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