config

package
v0.0.0-...-90dec0a Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadInitialConfigFromFile

func LoadInitialConfigFromFile(filePath string, v interface{}) error

LoadInitialConfigFromFile loads from JSON or YAML file and unmarshal the file's content into the value pointed to by v. The initial config data includes but not limited to serving address, namespace and database address, which are parameters that should be known before server starts and can not be changed until server stops.

Types

This section is empty.

Jump to

Keyboard shortcuts

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