config

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteConfig

func DeleteConfig(envName, configName string) error

DeleteConfig will delete local config file

func GetConfigsDir

func GetConfigsDir(envName string) (string, error)

GetConfigsDir will get config from dir

func ReadConfig

func ReadConfig(envName, configName string) ([]byte, error)

ReadConfig will read the config data from local

func ReadConfigLine

func ReadConfigLine(line string) (string, string, error)

ReadConfigLine will read config from line

func WriteConfig

func WriteConfig(envName, configName string, data []byte) error

WriteConfig will write data into local config

Types

This section is empty.

Jump to

Keyboard shortcuts

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