manager

package
v0.0.0-...-fbe82ab Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 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允许通道的所有成员颁发新令牌。

func (*AllIssuingValidator) Validate

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

如果传递的创建者可以颁发传递类型的令牌,则validate返回no error,否则返回错误。

type FabricIdentityDeserializerManager

type FabricIdentityDeserializerManager struct {
}

FabricidentityDeserializerManager实现一个DeserializerManager 通过将呼叫路由到MSP/MGMT包

func (*FabricIdentityDeserializerManager) Deserializer

type Manager

type Manager struct {
	IdentityDeserializerManager identity.DeserializerManager
}

管理器用于访问TMS组件。

func (*Manager) GetTxProcessor

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

gettxprocessor返回用于处理令牌事务的tmstxprocessor。

Jump to

Keyboard shortcuts

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