helpers

package
v0.0.0-...-7fe3f82 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package metadata contains variables used by tests

Index

Constants

This section is empty.

Variables

View Source
var ChannelConfigPath = "artifacts/channel"

ChannelConfigPath is the relative path to the generated channel artifacts directory

View Source
var CryptoConfigPath = "artifacts/channel/crypto-config"

CryptoConfigPath is the relative path to the generated crypto config directory

View Source
var Project = "fabric-sdk-go"

Project is the Go project name relative to the Go Path

Functions

func GetChannelConfigPath

func GetChannelConfigPath(filename string) string

func GetConfigPath

func GetConfigPath(filename string) string

func GetDeployPath

func GetDeployPath() string

func GetLogger

func GetLogger() *logs.BeeLogger

Types

type AppConf

type AppConf struct {
	Conf Application `yaml:"application"`
}

func GetAppConf

func GetAppConf() *AppConf

type Application

type Application struct {
	LogPath      string          `yaml:"logPath"`
	LogLevel     int8            `yaml:"logLevel"`
	OrgInfo      []*OrgInfo      `yaml:"org"`
	OrderderInfo []*OrderderInfo `yaml:"orderer"`
}

type OrderderInfo

type OrderderInfo struct {
	Name     string `yaml:"name"`
	Admin    string `yaml:"admin"`
	Endpoint string `yaml:"endpoint"`
}

type OrgInfo

type OrgInfo struct {
	Name  string `yaml:"name"`
	Admin string `yaml:"admin"`
	User  string `yaml:"user"`
}

type TransactionID

type TransactionID string

Jump to

Keyboard shortcuts

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