config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Root string

	DirMode  = os.FileMode(0755)
	FileMode = os.FileMode(0644)
)

Functions

func Create

func Create() error

func Initialized

func Initialized() error

func RevisionsDir

func RevisionsDir() string

Types

type Config

type Config struct {
	*os.File

	Type     string
	Address  string
	Username string
	Password string
	Database string

	SSL struct {
		Mode string
		Cert string
		Key  string
		Root string
	}

	Author struct {
		Name  string
		Email string
	}
}

func Open

func Open() (*Config, error)

Jump to

Keyboard shortcuts

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