Documentation
¶
Index ¶
- func CCRouter(name string) (*router.Group, error)
- func NewCC() (*router.Chaincode, error)
- func NewCCEncrypted() (*router.Chaincode, error)
- type CPaperImpl
- func (cc *CPaperImpl) Buy(ctx router.Context, buy *schema.BuyCommercialPaper) (*schema.CommercialPaper, error)
- func (cc *CPaperImpl) Delete(ctx router.Context, id *schema.CommercialPaperId) (*schema.CommercialPaper, error)
- func (cc *CPaperImpl) Get(ctx router.Context, id *schema.CommercialPaperId) (*schema.CommercialPaper, error)
- func (cc *CPaperImpl) GetByExternalId(ctx router.Context, id *schema.ExternalId) (*schema.CommercialPaper, error)
- func (cc *CPaperImpl) Issue(ctx router.Context, issue *schema.IssueCommercialPaper) (*schema.CommercialPaper, error)
- func (cc *CPaperImpl) List(ctx router.Context, in *empty.Empty) (*schema.CommercialPaperList, error)
- func (cc *CPaperImpl) Redeem(ctx router.Context, redeem *schema.RedeemCommercialPaper) (*schema.CommercialPaper, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCCEncrypted ¶
Types ¶
type CPaperImpl ¶
type CPaperImpl struct { }
func (*CPaperImpl) Buy ¶
func (cc *CPaperImpl) Buy(ctx router.Context, buy *schema.BuyCommercialPaper) (*schema.CommercialPaper, error)
func (*CPaperImpl) Delete ¶
func (cc *CPaperImpl) Delete(ctx router.Context, id *schema.CommercialPaperId) (*schema.CommercialPaper, error)
func (*CPaperImpl) Get ¶
func (cc *CPaperImpl) Get(ctx router.Context, id *schema.CommercialPaperId) (*schema.CommercialPaper, error)
func (*CPaperImpl) GetByExternalId ¶
func (cc *CPaperImpl) GetByExternalId(ctx router.Context, id *schema.ExternalId) (*schema.CommercialPaper, error)
func (*CPaperImpl) Issue ¶
func (cc *CPaperImpl) Issue(ctx router.Context, issue *schema.IssueCommercialPaper) (*schema.CommercialPaper, error)
func (*CPaperImpl) List ¶
func (cc *CPaperImpl) List(ctx router.Context, in *empty.Empty) (*schema.CommercialPaperList, error)
func (*CPaperImpl) Redeem ¶
func (cc *CPaperImpl) Redeem(ctx router.Context, redeem *schema.RedeemCommercialPaper) (*schema.CommercialPaper, error)
Directories
¶
Path | Synopsis |
---|---|
Package schema is a generated protocol buffer package.
|
Package schema is a generated protocol buffer package. |
Package service contains * chaincode interface definition * chaincode gateway definition * chaincode service to cckit router registration func Package service is a reverse proxy.
|
Package service contains * chaincode interface definition * chaincode gateway definition * chaincode service to cckit router registration func Package service is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.