fabric

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FabricClient

type FabricClient struct {
	client.Client
}

func InitFabricClient

func InitFabricClient(config *config.Config) (*FabricClient, error)

初始化 fabric请求的client

func (*FabricClient) EnrollUser

func (c *FabricClient) EnrollUser(body userreq.RegisterReqDataBody) error

func (*FabricClient) EventQuery

func (c *FabricClient) EventQuery() (*eventres.QueryResData, error)

func (*FabricClient) EventRegister

func (*FabricClient) EventRemove

func (*FabricClient) GetBlockInfo

func (c *FabricClient) GetBlockInfo(body nodereq.BlockReqDataBody) (*noderes.BlockResData, error)

func (*FabricClient) GetLedgerInfo

func (c *FabricClient) GetLedgerInfo() (*noderes.LedgerResData, error)

func (*FabricClient) GetTransInfo

func (*FabricClient) RegisterUser

func (*FabricClient) ReqChainCode

func (c *FabricClient) ReqChainCode(body nodereq.TransReqDataBody) (*noderes.TranResData, error)

func (*FabricClient) SdkTran

Jump to

Keyboard shortcuts

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