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 ¶
func (*FabricIdentityDeserializerManager) Deserializer(channel string) (identity.Deserializer, error)
type Manager ¶
type Manager struct {
IdentityDeserializerManager identity.DeserializerManager
}
管理器用于访问TMS组件。
func (*Manager) GetTxProcessor ¶
func (m *Manager) GetTxProcessor(channel string) (transaction.TMSTxProcessor, error)
gettxprocessor返回用于处理令牌事务的tmstxprocessor。
Click to show internal directories.
Click to hide internal directories.