config

package
v0.0.0-...-c076167 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigure

func NewConfigure(configPaths ...string) error

Types

type Configuration

type Configuration struct {
	// Log             Log             `hcl:"log,block"`
	Web   Web   `hcl:"web,block"`
	MySQL MySQL `hcl:"mysql,block"`
}
var Configure Configuration

type MySQL

type MySQL struct {
	DNS string `hcl:"dns"`
}

type Web

type Web struct {
	Address string `hcl:"address"`
}

Jump to

Keyboard shortcuts

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