configtest

package
v0.0.0-...-fbe82ab Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDevConfigPath

func AddDevConfigPath(v *viper.Viper) error

adddevconfigPath将devconfigdir添加到viper路径。

func GetDevConfigDir

func GetDevConfigDir() (string, error)

getdevconfigdir获取默认配置的路径,即 使用源树维护。这只能用于 测试/开发环境。

func GetDevMspDir

func GetDevMspDir() (string, error)

getdevmspdir获取维护的sampleconfig/msp树的路径 使用源树。这只能在测试/开发中使用 语境。

func SetDevFabricConfigPath

func SetDevFabricConfigPath(t *testing.T) (cleanup func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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