Version: v0.0.0-...-a0081c5 Latest Latest

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0




View Source
const (
	// IdentityLevel is the current level of identities
	IdentityLevel = 2
	// AffiliationLevel is the current level of affiliations
	AffiliationLevel = 1
	// CertificateLevel is the current level of certificates
	CertificateLevel = 1

Current levels which are incremented each time there is a change which requires database migration


View Source
var Version = "1.4.0"

Version specifies fabric-ca-client/fabric-ca-server version It is defined by the Makefile and passed in with ldflags


func CmpVersion

func CmpVersion(v1, v2 string) (int, error)

CmpVersion compares version v1 to v2. Return 0 if equal, 1 if v2 > v1, or -1 if v2 < v1.

func GetLevels

func GetLevels(version string) (*dbutil.Levels, error)

GetLevels returns the levels for a particular version

func GetVersion

func GetVersion() string

GetVersion returns the version

func GetVersionInfo

func GetVersionInfo(prgName string) string

GetVersionInfo returns version information for the fabric-ca-client/fabric-ca-server


This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL