manager

package
v0.0.0-...-8dfe50c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllIssuingValidator

type AllIssuingValidator struct {
	Deserializer identity.Deserializer
}

AllIssuingValidator allows all members of a channel to issue new tokens.

func (*AllIssuingValidator) Validate

func (p *AllIssuingValidator) Validate(creator identity.PublicInfo, tokenType string) error

Validate returns no error if the passed creator can issue tokens of the passed type,, an error otherwise.

type FabricIdentityDeserializerManager

type FabricIdentityDeserializerManager struct {
}

FabricIdentityDeserializerManager implements an DeserializerManager by routing the call to the msp/mgmt package

func (*FabricIdentityDeserializerManager) Deserializer

type Manager

type Manager struct {
	IdentityDeserializerManager identity.DeserializerManager
}

Manager is used to access TMS components.

func (*Manager) GetTxProcessor

func (m *Manager) GetTxProcessor(channel string) (transaction.TMSTxProcessor, error)

GetTxProcessor returns a TMSTxProcessor that is used to process token transactions.

Jump to

Keyboard shortcuts

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