config

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 4 Imported by: 44

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalLocalYAMLFile added in v0.7.0

func MarshalLocalYAMLFile(path string, obj interface{}) error

MarshalLocalYAMLFile writes JSON or YAML to a file on disk. The caller is responsible for checking error return values.

func UnmarshalLocalFile added in v0.7.0

func UnmarshalLocalFile(path string, obj interface{}) error

UnmarshalLocalFile retrieves JSON or YAML from a file on disk. The caller is responsible for checking error return values.

func UnmarshalRemoteFile added in v0.7.0

func UnmarshalRemoteFile(url string, obj interface{}) error

UnmarshalRemoteFile retrieves JSON or YAML through a GET request. The caller is responsible for checking error return values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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