hlfprofile

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnProfile

type ConnProfile struct {
	Client struct {
		Org             string `yaml:"organization"`
		CredentialStore struct {
			Path        string `yaml:"path"`
			CryptoStore struct {
				Path string `yaml:"path"`
			} `yaml:"cryptoStore"`
		} `yaml:"credentialStore"`
	} `yaml:"client"`
	Organizations map[string]struct {
		Mspid string `yaml:"mspid"`
	} `yaml:"organizations"`
}

type HlfProfile

type HlfProfile struct {
	OrgName             string
	MspID               string
	CredentialStorePath string
	CryptoStorePath     string
}

func ParseProfile

func ParseProfile(profilePath string) (*HlfProfile, error)

Jump to

Keyboard shortcuts

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