msp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdemixMSP       = "idemix"
	IdemixMSPFolder = "idemix-folder"
	BccspMSP        = "bccsp"
	BccspMSPFolder  = "bccsp-folder"
)

Variables

This section is empty.

Functions

func NewLocalMSPManager

func NewLocalMSPManager(
	config driver.Config,
	KVS KVS,
	signerService driver.SignerService,
	binderService driver.BinderService,
	defaultViewIdentity view.Identity,
	deserializerManager driver.DeserializerManager,
	cacheSize int,
) *service

Types

type KVS added in v0.4.0

type KVS interface {
	Exists(id string) bool
	Put(id string, state interface{}) error
	Get(id string, state interface{}) error
}

Directories

Path Synopsis
mock
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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