Documentation ¶
Index ¶
- func ChainCodeInstall(req *core.ReqChainCodeInstall) (resp *core.RespChainCodeInstall, err error)
- func ChainCodeInstantiate(req *core.ReqChainCodeInstantiate) (resp *core.RespChainCodeInstantiate, err error)
- func ChainCodeInvoke(req *core.ReqChainCodeInvoke) (resp *core.RespChainCodeInvoke, err error)
- func ChainCodeQuery(req *core.ReqChainCodeQuery) (resp *core.RespChainCodeQuery, err error)
- func ChainCodeUpgrade(req *core.ReqChainCodeUpgrade) (resp *core.RespChainCodeUpgrade, err error)
- func ChannelConfigBlock(req *core.ReqChannelConfigBlock) (resp *core.RespChannelConfigBlock, err error)
- func ChannelCreate(req *core.ReqChannelCreate) (resp *core.RespChannelCreate, err error)
- func ChannelJoin(req *core.ReqChannelJoin) (resp *core.RespChannelJoin, err error)
- func ChannelList(req *core.ReqChannelList) (resp *core.RespChannelList, err error)
- func ChannelSign(req *core.ReqChannelSign) (resp *core.RespChannelSign, err error)
- func ChannelUpdateConfigBlock(req *core.ReqChannelUpdateBlock) (resp *core.RespChannelUpdateBlock, err error)
- func PeerQueryInstalled(req *core.ReqPeerInstalled) (resp *core.RespPeerInstalled, err error)
- func PeerQueryInstantiated(req *core.ReqPeerInstantiated) (resp *core.RespPeerInstantiated, err error)
- type ChainCode
- func (c *ChainCode) Install(_ context.Context, req *core.ReqChainCodeInstall) (*core.RespChainCodeInstall, error)
- func (c *ChainCode) Instantiate(_ context.Context, req *core.ReqChainCodeInstantiate) (*core.RespChainCodeInstantiate, error)
- func (c *ChainCode) Invoke(_ context.Context, req *core.ReqChainCodeInvoke) (*core.RespChainCodeInvoke, error)
- func (c *ChainCode) Query(_ context.Context, req *core.ReqChainCodeQuery) (*core.RespChainCodeQuery, error)
- func (c *ChainCode) Upgrade(_ context.Context, req *core.ReqChainCodeUpgrade) (*core.RespChainCodeUpgrade, error)
- type Channel
- func (c *Channel) Config(_ context.Context, req *core.ReqChannelConfigBlock) (*core.RespChannelConfigBlock, error)
- func (c *Channel) Create(_ context.Context, req *core.ReqChannelCreate) (*core.RespChannelCreate, error)
- func (c *Channel) Join(_ context.Context, req *core.ReqChannelJoin) (*core.RespChannelJoin, error)
- func (c *Channel) List(_ context.Context, req *core.ReqChannelList) (*core.RespChannelList, error)
- func (c *Channel) Sign(_ context.Context, req *core.ReqChannelSign) (*core.RespChannelSign, error)
- func (c *Channel) Update(_ context.Context, req *core.ReqChannelUpdateBlock) (*core.RespChannelUpdateBlock, error)
- type Peer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChainCodeInstall ¶
func ChainCodeInstall(req *core.ReqChainCodeInstall) (resp *core.RespChainCodeInstall, err error)
ChainCodeInstall ChainCodeInstall
func ChainCodeInstantiate ¶
func ChainCodeInstantiate(req *core.ReqChainCodeInstantiate) (resp *core.RespChainCodeInstantiate, err error)
ChainCodeInstantiate ChainCodeInstantiate
func ChainCodeInvoke ¶
func ChainCodeInvoke(req *core.ReqChainCodeInvoke) (resp *core.RespChainCodeInvoke, err error)
ChainCodeInvoke ChainCodeInvoke
func ChainCodeQuery ¶
func ChainCodeQuery(req *core.ReqChainCodeQuery) (resp *core.RespChainCodeQuery, err error)
ChainCodeQuery ChainCodeQuery
func ChainCodeUpgrade ¶
func ChainCodeUpgrade(req *core.ReqChainCodeUpgrade) (resp *core.RespChainCodeUpgrade, err error)
ChainCodeUpgrade ChainCodeUpgrade
func ChannelConfigBlock ¶
func ChannelConfigBlock(req *core.ReqChannelConfigBlock) (resp *core.RespChannelConfigBlock, err error)
ChannelConfigBlock ChannelConfigBlock
func ChannelCreate ¶
func ChannelCreate(req *core.ReqChannelCreate) (resp *core.RespChannelCreate, err error)
ChannelCreate ChannelCreate
func ChannelJoin ¶
func ChannelJoin(req *core.ReqChannelJoin) (resp *core.RespChannelJoin, err error)
ChannelJoin ChannelJoin
func ChannelList ¶
func ChannelList(req *core.ReqChannelList) (resp *core.RespChannelList, err error)
ChannelList ChannelList
func ChannelSign ¶
func ChannelSign(req *core.ReqChannelSign) (resp *core.RespChannelSign, err error)
ChannelSign ChannelSign
func ChannelUpdateConfigBlock ¶
func ChannelUpdateConfigBlock(req *core.ReqChannelUpdateBlock) (resp *core.RespChannelUpdateBlock, err error)
ChannelUpdateConfigBlock ChannelUpdateConfigBlock
func PeerQueryInstalled ¶
func PeerQueryInstalled(req *core.ReqPeerInstalled) (resp *core.RespPeerInstalled, err error)
PeerQueryInstalled PeerQueryInstalled
func PeerQueryInstantiated ¶
func PeerQueryInstantiated(req *core.ReqPeerInstantiated) (resp *core.RespPeerInstantiated, err error)
PeerQueryInstantiated PeerQueryInstantiated
Types ¶
type ChainCode ¶
type ChainCode struct{}
ChainCode ChainCode
func (*ChainCode) Install ¶
func (c *ChainCode) Install(_ context.Context, req *core.ReqChainCodeInstall) (*core.RespChainCodeInstall, error)
Install Install
func (*ChainCode) Instantiate ¶
func (c *ChainCode) Instantiate(_ context.Context, req *core.ReqChainCodeInstantiate) (*core.RespChainCodeInstantiate, error)
Instantiate Instantiate
func (*ChainCode) Invoke ¶
func (c *ChainCode) Invoke(_ context.Context, req *core.ReqChainCodeInvoke) (*core.RespChainCodeInvoke, error)
Invoke Invoke
func (*ChainCode) Query ¶
func (c *ChainCode) Query(_ context.Context, req *core.ReqChainCodeQuery) (*core.RespChainCodeQuery, error)
Query Query
func (*ChainCode) Upgrade ¶
func (c *ChainCode) Upgrade(_ context.Context, req *core.ReqChainCodeUpgrade) (*core.RespChainCodeUpgrade, error)
Upgrade Upgrade
type Channel ¶
type Channel struct{}
Channel Channel
func (*Channel) Config ¶
func (c *Channel) Config(_ context.Context, req *core.ReqChannelConfigBlock) (*core.RespChannelConfigBlock, error)
Config Config
func (*Channel) Create ¶
func (c *Channel) Create(_ context.Context, req *core.ReqChannelCreate) (*core.RespChannelCreate, error)
Create Create
func (*Channel) Join ¶
func (c *Channel) Join(_ context.Context, req *core.ReqChannelJoin) (*core.RespChannelJoin, error)
Join Join
func (*Channel) List ¶
func (c *Channel) List(_ context.Context, req *core.ReqChannelList) (*core.RespChannelList, error)
List List
func (*Channel) Sign ¶
func (c *Channel) Sign(_ context.Context, req *core.ReqChannelSign) (*core.RespChannelSign, error)
Sign Sign
func (*Channel) Update ¶
func (c *Channel) Update(_ context.Context, req *core.ReqChannelUpdateBlock) (*core.RespChannelUpdateBlock, error)
Update Update
type Peer ¶
type Peer struct{}
Peer Peer
func (*Peer) Installed ¶
func (p *Peer) Installed(_ context.Context, req *core.ReqPeerInstalled) (*core.RespPeerInstalled, error)
Installed Installed
func (*Peer) Instantiated ¶
func (p *Peer) Instantiated(_ context.Context, req *core.ReqPeerInstantiated) (*core.RespPeerInstantiated, error)
Instantiated Instantiated