Documentation
¶
Index ¶
- func GetSdkProvider() sdkprovider.SdkProvider
- type ChaincdoeService
- func (c *ChaincdoeService) InstallCC(ctx context.Context, r *pb.InstallCCRequest) (*pb.ServerStatus, error)
- func (c *ChaincdoeService) InstantiateCC(ctx context.Context, r *pb.InstantiateCCRequest) (*pb.InstantiateCCResponse, error)
- func (c *ChaincdoeService) InvokeCC(ctx context.Context, r *pb.InvokeCCRequest) (*pb.InvokeCCResponse, error)
- func (c *ChaincdoeService) QueryCC(ctx context.Context, r *pb.QueryCCRequest) (*pb.QueryCCResponse, error)
- func (c *ChaincdoeService) UpgradeCC(ctx context.Context, r *pb.UpgradeCCRequest) (*pb.UpgradeCCResponse, error)
- type ChannelService
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSdkProvider ¶
func GetSdkProvider() sdkprovider.SdkProvider
Types ¶
type ChaincdoeService ¶
type ChaincdoeService struct {
// contains filtered or unexported fields
}
func NewChaincodeService ¶
func NewChaincodeService() *ChaincdoeService
func (*ChaincdoeService) InstallCC ¶
func (c *ChaincdoeService) InstallCC(ctx context.Context, r *pb.InstallCCRequest) (*pb.ServerStatus, error)
func (*ChaincdoeService) InstantiateCC ¶
func (c *ChaincdoeService) InstantiateCC(ctx context.Context, r *pb.InstantiateCCRequest) (*pb.InstantiateCCResponse, error)
func (*ChaincdoeService) InvokeCC ¶
func (c *ChaincdoeService) InvokeCC(ctx context.Context, r *pb.InvokeCCRequest) (*pb.InvokeCCResponse, error)
func (*ChaincdoeService) QueryCC ¶
func (c *ChaincdoeService) QueryCC(ctx context.Context, r *pb.QueryCCRequest) (*pb.QueryCCResponse, error)
func (*ChaincdoeService) UpgradeCC ¶
func (c *ChaincdoeService) UpgradeCC(ctx context.Context, r *pb.UpgradeCCRequest) (*pb.UpgradeCCResponse, error)
type ChannelService ¶
type ChannelService struct {
// contains filtered or unexported fields
}
func NewChannelService ¶
func NewChannelService() *ChannelService
func (*ChannelService) CreateChannel ¶
func (c *ChannelService) CreateChannel(ctx context.Context, r *pb.CreateChannelRequest) (*pb.CreateChannelResponse, error)
func (*ChannelService) JoinChannel ¶
func (c *ChannelService) JoinChannel(ctx context.Context, r *pb.JoinChannelRequest) (*pb.ServerStatus, error)
type Handler ¶
type Handler struct {
Provider sdkprovider.SdkProvider
}
func NewHandler ¶
func NewHandler() *Handler
Click to show internal directories.
Click to hide internal directories.