Documentation ¶
Overview ¶
Package system is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package system is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package system is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package system is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterCSCCServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCSCCServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CSCCServiceClient) error
- func RegisterCSCCServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCSCCServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CSCCServiceServer) error
- func RegisterCSCCServiceServer(s *grpc.Server, srv CSCCServiceServer)
- func RegisterLSCCServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLSCCServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LSCCServiceClient) error
- func RegisterLSCCServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLSCCServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LSCCServiceServer) error
- func RegisterLSCCServiceServer(s *grpc.Server, srv LSCCServiceServer)
- func RegisterLifecycleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLifecycleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LifecycleServiceClient) error
- func RegisterLifecycleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLifecycleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LifecycleServiceServer) error
- func RegisterLifecycleServiceServer(s *grpc.Server, srv LifecycleServiceServer)
- func RegisterQSCCServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQSCCServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QSCCServiceClient) error
- func RegisterQSCCServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQSCCServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QSCCServiceServer) error
- func RegisterQSCCServiceServer(s *grpc.Server, srv QSCCServiceServer)
- type ApproveChaincodeDefinitionForMyOrgRequest
- func (*ApproveChaincodeDefinitionForMyOrgRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveChaincodeDefinitionForMyOrgRequest) GetArgs() *lifecycle.ApproveChaincodeDefinitionForMyOrgArgs
- func (x *ApproveChaincodeDefinitionForMyOrgRequest) GetChannel() string
- func (*ApproveChaincodeDefinitionForMyOrgRequest) ProtoMessage()
- func (x *ApproveChaincodeDefinitionForMyOrgRequest) ProtoReflect() protoreflect.Message
- func (x *ApproveChaincodeDefinitionForMyOrgRequest) Reset()
- func (x *ApproveChaincodeDefinitionForMyOrgRequest) String() string
- type CSCCChannelsFetcher
- type CSCCService
- func (c *CSCCService) GetChannelConfig(ctx context.Context, request *GetChannelConfigRequest) (*common.Config, error)
- func (c *CSCCService) GetChannels(ctx context.Context, _ *empty.Empty) (*peer.ChannelQueryResponse, error)
- func (c *CSCCService) GetConfigBlock(ctx context.Context, request *GetConfigBlockRequest) (*common.Block, error)
- func (c *CSCCService) JoinChain(ctx context.Context, request *JoinChainRequest) (*empty.Empty, error)
- func (c *CSCCService) ServiceDef() ServiceDef
- type CSCCServiceClient
- type CSCCServiceServer
- type CheckCommitReadinessRequest
- func (*CheckCommitReadinessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckCommitReadinessRequest) GetArgs() *lifecycle.CheckCommitReadinessArgs
- func (x *CheckCommitReadinessRequest) GetChannel() string
- func (*CheckCommitReadinessRequest) ProtoMessage()
- func (x *CheckCommitReadinessRequest) ProtoReflect() protoreflect.Message
- func (x *CheckCommitReadinessRequest) Reset()
- func (x *CheckCommitReadinessRequest) String() string
- type CommitChaincodeDefinitionRequest
- func (*CommitChaincodeDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitChaincodeDefinitionRequest) GetArgs() *lifecycle.CommitChaincodeDefinitionArgs
- func (x *CommitChaincodeDefinitionRequest) GetChannel() string
- func (*CommitChaincodeDefinitionRequest) ProtoMessage()
- func (x *CommitChaincodeDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *CommitChaincodeDefinitionRequest) Reset()
- func (x *CommitChaincodeDefinitionRequest) String() string
- type DeployRequest
- func (*DeployRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployRequest) GetChannel() string
- func (x *DeployRequest) GetCollectionConfig() *common.CollectionConfigPackage
- func (x *DeployRequest) GetDeploymentSpec() *peer.ChaincodeDeploymentSpec
- func (x *DeployRequest) GetESCC() string
- func (x *DeployRequest) GetPolicy() *common.SignaturePolicyEnvelope
- func (x *DeployRequest) GetTransient() map[string][]byte
- func (x *DeployRequest) GetVSCC() string
- func (*DeployRequest) ProtoMessage()
- func (x *DeployRequest) ProtoReflect() protoreflect.Message
- func (x *DeployRequest) Reset()
- func (x *DeployRequest) String() string
- type GetBlockByHashRequest
- func (*GetBlockByHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockByHashRequest) GetBlockHash() []byte
- func (x *GetBlockByHashRequest) GetChannelName() string
- func (*GetBlockByHashRequest) ProtoMessage()
- func (x *GetBlockByHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockByHashRequest) Reset()
- func (x *GetBlockByHashRequest) String() string
- type GetBlockByNumberRequest
- func (*GetBlockByNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockByNumberRequest) GetBlockNumber() int64
- func (x *GetBlockByNumberRequest) GetChannelName() string
- func (*GetBlockByNumberRequest) ProtoMessage()
- func (x *GetBlockByNumberRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockByNumberRequest) Reset()
- func (x *GetBlockByNumberRequest) String() string
- type GetBlockByTxIDRequest
- func (*GetBlockByTxIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockByTxIDRequest) GetChannelName() string
- func (x *GetBlockByTxIDRequest) GetTxId() string
- func (*GetBlockByTxIDRequest) ProtoMessage()
- func (x *GetBlockByTxIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockByTxIDRequest) Reset()
- func (x *GetBlockByTxIDRequest) String() string
- type GetChainInfoRequest
- func (*GetChainInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChainInfoRequest) GetChannelName() string
- func (*GetChainInfoRequest) ProtoMessage()
- func (x *GetChainInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetChainInfoRequest) Reset()
- func (x *GetChainInfoRequest) String() string
- type GetChaincodeDataRequest
- func (*GetChaincodeDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChaincodeDataRequest) GetChaincode() string
- func (x *GetChaincodeDataRequest) GetChannel() string
- func (*GetChaincodeDataRequest) ProtoMessage()
- func (x *GetChaincodeDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetChaincodeDataRequest) Reset()
- func (x *GetChaincodeDataRequest) String() string
- type GetChaincodesRequest
- func (*GetChaincodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChaincodesRequest) GetChannel() string
- func (*GetChaincodesRequest) ProtoMessage()
- func (x *GetChaincodesRequest) ProtoReflect() protoreflect.Message
- func (x *GetChaincodesRequest) Reset()
- func (x *GetChaincodesRequest) String() string
- type GetChannelConfigRequest
- func (*GetChannelConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelConfigRequest) GetChannel() string
- func (*GetChannelConfigRequest) ProtoMessage()
- func (x *GetChannelConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelConfigRequest) Reset()
- func (x *GetChannelConfigRequest) String() string
- type GetConfigBlockRequest
- func (*GetConfigBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigBlockRequest) GetChannel() string
- func (*GetConfigBlockRequest) ProtoMessage()
- func (x *GetConfigBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigBlockRequest) Reset()
- func (x *GetConfigBlockRequest) String() string
- type GetDeploymentSpecRequest
- func (*GetDeploymentSpecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentSpecRequest) GetChaincode() string
- func (x *GetDeploymentSpecRequest) GetChannel() string
- func (*GetDeploymentSpecRequest) ProtoMessage()
- func (x *GetDeploymentSpecRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentSpecRequest) Reset()
- func (x *GetDeploymentSpecRequest) String() string
- type GetTransactionByIDRequest
- func (*GetTransactionByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionByIDRequest) GetChannelName() string
- func (x *GetTransactionByIDRequest) GetTxId() string
- func (*GetTransactionByIDRequest) ProtoMessage()
- func (x *GetTransactionByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionByIDRequest) Reset()
- func (x *GetTransactionByIDRequest) String() string
- type JoinChainRequest
- func (*JoinChainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinChainRequest) GetChannel() string
- func (x *JoinChainRequest) GetGenesisBlock() *common.Block
- func (*JoinChainRequest) ProtoMessage()
- func (x *JoinChainRequest) ProtoReflect() protoreflect.Message
- func (x *JoinChainRequest) Reset()
- func (x *JoinChainRequest) String() string
- type LSCCService
- func (l *LSCCService) Deploy(ctx context.Context, deploy *DeployRequest) (response *peer.Response, err error)
- func (l *LSCCService) GetChaincodeData(ctx context.Context, getChaincodeData *GetChaincodeDataRequest) (*peer.ChaincodeData, error)
- func (l *LSCCService) GetChaincodes(ctx context.Context, getChaincodes *GetChaincodesRequest) (*peer.ChaincodeQueryResponse, error)
- func (l *LSCCService) GetDeploymentSpec(ctx context.Context, getDeploymentSpec *GetDeploymentSpecRequest) (*peer.ChaincodeDeploymentSpec, error)
- func (l *LSCCService) GetInstalledChaincodes(ctx context.Context, _ *empty.Empty) (*peer.ChaincodeQueryResponse, error)
- func (l *LSCCService) Install(ctx context.Context, spec *peer.ChaincodeDeploymentSpec) (*empty.Empty, error)
- func (l *LSCCService) ServiceDef() ServiceDef
- type LSCCServiceClient
- type LSCCServiceServer
- type LifecycleService
- func (l *LifecycleService) ApproveChaincodeDefinitionForMyOrg(ctx context.Context, ...) (*empty.Empty, error)
- func (l *LifecycleService) CheckCommitReadiness(ctx context.Context, checkCommitReadiness *CheckCommitReadinessRequest) (*lifecycleproto.CheckCommitReadinessResult, error)
- func (l *LifecycleService) CommitChaincodeDefinition(ctx context.Context, ...) (*lifecycleproto.CommitChaincodeDefinitionResult, error)
- func (l *LifecycleService) InstallChaincode(ctx context.Context, args *lifecycleproto.InstallChaincodeArgs) (*lifecycleproto.InstallChaincodeResult, error)
- func (l *LifecycleService) QueryApprovedChaincodeDefinition(ctx context.Context, ...) (*lifecycleproto.QueryApprovedChaincodeDefinitionResult, error)
- func (l *LifecycleService) QueryChaincodeDefinition(ctx context.Context, queryChaincodeDefinition *QueryChaincodeDefinitionRequest) (*lifecycleproto.QueryChaincodeDefinitionResult, error)
- func (l *LifecycleService) QueryChaincodeDefinitions(ctx context.Context, ...) (*lifecycleproto.QueryChaincodeDefinitionsResult, error)
- func (l *LifecycleService) QueryInstalledChaincode(ctx context.Context, args *lifecycleproto.QueryInstalledChaincodeArgs) (*lifecycleproto.QueryInstalledChaincodeResult, error)
- func (l *LifecycleService) QueryInstalledChaincodes(ctx context.Context, _ *empty.Empty) (*lifecycleproto.QueryInstalledChaincodesResult, error)
- func (l *LifecycleService) ServiceDef() ServiceDef
- type LifecycleServiceClient
- type LifecycleServiceServer
- type QSCCService
- func (q *QSCCService) GetBlockByHash(ctx context.Context, request *GetBlockByHashRequest) (*common.Block, error)
- func (q *QSCCService) GetBlockByNumber(ctx context.Context, request *GetBlockByNumberRequest) (*common.Block, error)
- func (q *QSCCService) GetBlockByTxID(ctx context.Context, request *GetBlockByTxIDRequest) (*common.Block, error)
- func (q *QSCCService) GetChainInfo(ctx context.Context, request *GetChainInfoRequest) (*common.BlockchainInfo, error)
- func (q *QSCCService) GetTransactionByID(ctx context.Context, request *GetTransactionByIDRequest) (*peer.ProcessedTransaction, error)
- func (q *QSCCService) ServiceDef() ServiceDef
- type QSCCServiceClient
- type QSCCServiceServer
- type QueryApprovedChaincodeDefinitionRequest
- func (*QueryApprovedChaincodeDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryApprovedChaincodeDefinitionRequest) GetArgs() *lifecycle.QueryApprovedChaincodeDefinitionArgs
- func (x *QueryApprovedChaincodeDefinitionRequest) GetChannel() string
- func (*QueryApprovedChaincodeDefinitionRequest) ProtoMessage()
- func (x *QueryApprovedChaincodeDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *QueryApprovedChaincodeDefinitionRequest) Reset()
- func (x *QueryApprovedChaincodeDefinitionRequest) String() string
- type QueryChaincodeDefinitionRequest
- func (*QueryChaincodeDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryChaincodeDefinitionRequest) GetArgs() *lifecycle.QueryChaincodeDefinitionArgs
- func (x *QueryChaincodeDefinitionRequest) GetChannel() string
- func (*QueryChaincodeDefinitionRequest) ProtoMessage()
- func (x *QueryChaincodeDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *QueryChaincodeDefinitionRequest) Reset()
- func (x *QueryChaincodeDefinitionRequest) String() string
- type QueryChaincodeDefinitionsRequest
- func (*QueryChaincodeDefinitionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryChaincodeDefinitionsRequest) GetArgs() *lifecycle.QueryChaincodeDefinitionsArgs
- func (x *QueryChaincodeDefinitionsRequest) GetChannel() string
- func (*QueryChaincodeDefinitionsRequest) ProtoMessage()
- func (x *QueryChaincodeDefinitionsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryChaincodeDefinitionsRequest) Reset()
- func (x *QueryChaincodeDefinitionsRequest) String() string
- type RegisterHandlerFromEndpoint
- type Service
- type ServiceDef
- type UnimplementedCSCCServiceServer
- func (*UnimplementedCSCCServiceServer) GetChannelConfig(context.Context, *GetChannelConfigRequest) (*common.Config, error)
- func (*UnimplementedCSCCServiceServer) GetChannels(context.Context, *empty.Empty) (*peer.ChannelQueryResponse, error)
- func (*UnimplementedCSCCServiceServer) GetConfigBlock(context.Context, *GetConfigBlockRequest) (*common.Block, error)
- func (*UnimplementedCSCCServiceServer) JoinChain(context.Context, *JoinChainRequest) (*empty.Empty, error)
- type UnimplementedLSCCServiceServer
- func (*UnimplementedLSCCServiceServer) Deploy(context.Context, *DeployRequest) (*peer.Response, error)
- func (*UnimplementedLSCCServiceServer) GetChaincodeData(context.Context, *GetChaincodeDataRequest) (*peer.ChaincodeData, error)
- func (*UnimplementedLSCCServiceServer) GetChaincodes(context.Context, *GetChaincodesRequest) (*peer.ChaincodeQueryResponse, error)
- func (*UnimplementedLSCCServiceServer) GetDeploymentSpec(context.Context, *GetDeploymentSpecRequest) (*peer.ChaincodeDeploymentSpec, error)
- func (*UnimplementedLSCCServiceServer) GetInstalledChaincodes(context.Context, *empty.Empty) (*peer.ChaincodeQueryResponse, error)
- func (*UnimplementedLSCCServiceServer) Install(context.Context, *peer.ChaincodeDeploymentSpec) (*empty.Empty, error)
- type UnimplementedLifecycleServiceServer
- func (*UnimplementedLifecycleServiceServer) ApproveChaincodeDefinitionForMyOrg(context.Context, *ApproveChaincodeDefinitionForMyOrgRequest) (*empty.Empty, error)
- func (*UnimplementedLifecycleServiceServer) CheckCommitReadiness(context.Context, *CheckCommitReadinessRequest) (*lifecycle.CheckCommitReadinessResult, error)
- func (*UnimplementedLifecycleServiceServer) CommitChaincodeDefinition(context.Context, *CommitChaincodeDefinitionRequest) (*lifecycle.CommitChaincodeDefinitionResult, error)
- func (*UnimplementedLifecycleServiceServer) InstallChaincode(context.Context, *lifecycle.InstallChaincodeArgs) (*lifecycle.InstallChaincodeResult, error)
- func (*UnimplementedLifecycleServiceServer) QueryApprovedChaincodeDefinition(context.Context, *QueryApprovedChaincodeDefinitionRequest) (*lifecycle.QueryApprovedChaincodeDefinitionResult, error)
- func (*UnimplementedLifecycleServiceServer) QueryChaincodeDefinition(context.Context, *QueryChaincodeDefinitionRequest) (*lifecycle.QueryChaincodeDefinitionResult, error)
- func (*UnimplementedLifecycleServiceServer) QueryChaincodeDefinitions(context.Context, *QueryChaincodeDefinitionsRequest) (*lifecycle.QueryChaincodeDefinitionsResult, error)
- func (*UnimplementedLifecycleServiceServer) QueryInstalledChaincode(context.Context, *lifecycle.QueryInstalledChaincodeArgs) (*lifecycle.QueryInstalledChaincodeResult, error)
- func (*UnimplementedLifecycleServiceServer) QueryInstalledChaincodes(context.Context, *empty.Empty) (*lifecycle.QueryInstalledChaincodesResult, error)
- type UnimplementedQSCCServiceServer
- func (*UnimplementedQSCCServiceServer) GetBlockByHash(context.Context, *GetBlockByHashRequest) (*common.Block, error)
- func (*UnimplementedQSCCServiceServer) GetBlockByNumber(context.Context, *GetBlockByNumberRequest) (*common.Block, error)
- func (*UnimplementedQSCCServiceServer) GetBlockByTxID(context.Context, *GetBlockByTxIDRequest) (*common.Block, error)
- func (*UnimplementedQSCCServiceServer) GetChainInfo(context.Context, *GetChainInfoRequest) (*common.BlockchainInfo, error)
- func (*UnimplementedQSCCServiceServer) GetTransactionByID(context.Context, *GetTransactionByIDRequest) (*peer.ProcessedTransaction, error)
Constants ¶
const ( CSCCName = `cscc` QSCCName = `qscc` LSCCName = `lscc` LifecycleName = `_lifecycle` )
const ( JoinChain string = "JoinChain" GetConfigBlock string = "GetConfigBlock" GetChannels string = "GetChannels" GetConfigTree string = `GetConfigTree` // HLF Peer V1.x GetChannelConfig string = "GetChannelConfig" // HLF Peer V2 + )
These are function names from Invoke first parameter
Variables ¶
var CSCCServiceSwagger []byte
var File_cscc_proto protoreflect.FileDescriptor
var File_lifecycle_proto protoreflect.FileDescriptor
var File_lscc_proto protoreflect.FileDescriptor
var File_qscc_proto protoreflect.FileDescriptor
var LSCCServiceSwagger []byte
var LifecycleServiceSwagger []byte
var QSCCServiceSwagger []byte
Functions ¶
func RegisterCSCCServiceHandler ¶
func RegisterCSCCServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCSCCServiceHandler registers the http handlers for service CSCCService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCSCCServiceHandlerClient ¶
func RegisterCSCCServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CSCCServiceClient) error
RegisterCSCCServiceHandlerClient registers the http handlers for service CSCCService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CSCCServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CSCCServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CSCCServiceClient" to call the correct interceptors.
func RegisterCSCCServiceHandlerFromEndpoint ¶
func RegisterCSCCServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCSCCServiceHandlerFromEndpoint is same as RegisterCSCCServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCSCCServiceHandlerServer ¶
func RegisterCSCCServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CSCCServiceServer) error
RegisterCSCCServiceHandlerServer registers the http handlers for service CSCCService to "mux". UnaryRPC :call CSCCServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterCSCCServiceServer ¶
func RegisterCSCCServiceServer(s *grpc.Server, srv CSCCServiceServer)
func RegisterLSCCServiceHandler ¶
func RegisterLSCCServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLSCCServiceHandler registers the http handlers for service LSCCService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLSCCServiceHandlerClient ¶
func RegisterLSCCServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LSCCServiceClient) error
RegisterLSCCServiceHandlerClient registers the http handlers for service LSCCService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LSCCServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LSCCServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LSCCServiceClient" to call the correct interceptors.
func RegisterLSCCServiceHandlerFromEndpoint ¶
func RegisterLSCCServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLSCCServiceHandlerFromEndpoint is same as RegisterLSCCServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLSCCServiceHandlerServer ¶
func RegisterLSCCServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LSCCServiceServer) error
RegisterLSCCServiceHandlerServer registers the http handlers for service LSCCService to "mux". UnaryRPC :call LSCCServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterLSCCServiceServer ¶
func RegisterLSCCServiceServer(s *grpc.Server, srv LSCCServiceServer)
func RegisterLifecycleServiceHandler ¶
func RegisterLifecycleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLifecycleServiceHandler registers the http handlers for service LifecycleService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLifecycleServiceHandlerClient ¶
func RegisterLifecycleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LifecycleServiceClient) error
RegisterLifecycleServiceHandlerClient registers the http handlers for service LifecycleService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LifecycleServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LifecycleServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LifecycleServiceClient" to call the correct interceptors.
func RegisterLifecycleServiceHandlerFromEndpoint ¶
func RegisterLifecycleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLifecycleServiceHandlerFromEndpoint is same as RegisterLifecycleServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLifecycleServiceHandlerServer ¶
func RegisterLifecycleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LifecycleServiceServer) error
RegisterLifecycleServiceHandlerServer registers the http handlers for service LifecycleService to "mux". UnaryRPC :call LifecycleServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterLifecycleServiceServer ¶
func RegisterLifecycleServiceServer(s *grpc.Server, srv LifecycleServiceServer)
func RegisterQSCCServiceHandler ¶
func RegisterQSCCServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterQSCCServiceHandler registers the http handlers for service QSCCService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQSCCServiceHandlerClient ¶
func RegisterQSCCServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QSCCServiceClient) error
RegisterQSCCServiceHandlerClient registers the http handlers for service QSCCService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QSCCServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QSCCServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QSCCServiceClient" to call the correct interceptors.
func RegisterQSCCServiceHandlerFromEndpoint ¶
func RegisterQSCCServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQSCCServiceHandlerFromEndpoint is same as RegisterQSCCServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQSCCServiceHandlerServer ¶
func RegisterQSCCServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QSCCServiceServer) error
RegisterQSCCServiceHandlerServer registers the http handlers for service QSCCService to "mux". UnaryRPC :call QSCCServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterQSCCServiceServer ¶
func RegisterQSCCServiceServer(s *grpc.Server, srv QSCCServiceServer)
Types ¶
type ApproveChaincodeDefinitionForMyOrgRequest ¶
type ApproveChaincodeDefinitionForMyOrgRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Args *lifecycle.ApproveChaincodeDefinitionForMyOrgArgs `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*ApproveChaincodeDefinitionForMyOrgRequest) Descriptor
deprecated
func (*ApproveChaincodeDefinitionForMyOrgRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApproveChaincodeDefinitionForMyOrgRequest.ProtoReflect.Descriptor instead.
func (*ApproveChaincodeDefinitionForMyOrgRequest) GetArgs ¶
func (x *ApproveChaincodeDefinitionForMyOrgRequest) GetArgs() *lifecycle.ApproveChaincodeDefinitionForMyOrgArgs
func (*ApproveChaincodeDefinitionForMyOrgRequest) GetChannel ¶
func (x *ApproveChaincodeDefinitionForMyOrgRequest) GetChannel() string
func (*ApproveChaincodeDefinitionForMyOrgRequest) ProtoMessage ¶
func (*ApproveChaincodeDefinitionForMyOrgRequest) ProtoMessage()
func (*ApproveChaincodeDefinitionForMyOrgRequest) ProtoReflect ¶
func (x *ApproveChaincodeDefinitionForMyOrgRequest) ProtoReflect() protoreflect.Message
func (*ApproveChaincodeDefinitionForMyOrgRequest) Reset ¶
func (x *ApproveChaincodeDefinitionForMyOrgRequest) Reset()
func (*ApproveChaincodeDefinitionForMyOrgRequest) String ¶
func (x *ApproveChaincodeDefinitionForMyOrgRequest) String() string
type CSCCChannelsFetcher ¶
type CSCCChannelsFetcher struct {
Querier *tx.ProtoQuerier
}
func NewCSCCChannelsFetcher ¶
func NewCSCCChannelsFetcher(querier api.Querier) *CSCCChannelsFetcher
func (*CSCCChannelsFetcher) GetChannels ¶
func (f *CSCCChannelsFetcher) GetChannels(ctx context.Context) (*peer.ChannelQueryResponse, error)
type CSCCService ¶
type CSCCService struct { UnimplementedCSCCServiceServer Querier *tx.ProtoQuerier ChannelsFetcher *CSCCChannelsFetcher FabricVersion hlfproto.FabricVersion }
func NewCSCC ¶
func NewCSCC(querier api.Querier, version hlfproto.FabricVersion) *CSCCService
func NewCSCCFromClient ¶
func NewCSCCFromClient(client api.Core) *CSCCService
func (*CSCCService) GetChannelConfig ¶
func (c *CSCCService) GetChannelConfig(ctx context.Context, request *GetChannelConfigRequest) (*common.Config, error)
func (*CSCCService) GetChannels ¶
func (c *CSCCService) GetChannels(ctx context.Context, _ *empty.Empty) (*peer.ChannelQueryResponse, error)
func (*CSCCService) GetConfigBlock ¶
func (c *CSCCService) GetConfigBlock(ctx context.Context, request *GetConfigBlockRequest) (*common.Block, error)
func (*CSCCService) JoinChain ¶
func (c *CSCCService) JoinChain(ctx context.Context, request *JoinChainRequest) (*empty.Empty, error)
func (*CSCCService) ServiceDef ¶
func (c *CSCCService) ServiceDef() ServiceDef
type CSCCServiceClient ¶
type CSCCServiceClient interface { // GetChainInfo allows joining channel using presented genesis block JoinChain(ctx context.Context, in *JoinChainRequest, opts ...grpc.CallOption) (*empty.Empty, error) GetChannels(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*peer.ChannelQueryResponse, error) // GetConfigBlock returns genesis block of channel GetConfigBlock(ctx context.Context, in *GetConfigBlockRequest, opts ...grpc.CallOption) (*common.Block, error) // GetChannelConfig returns channel configuration GetChannelConfig(ctx context.Context, in *GetChannelConfigRequest, opts ...grpc.CallOption) (*common.Config, error) }
CSCCServiceClient is the client API for CSCCService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCSCCServiceClient ¶
func NewCSCCServiceClient(cc grpc.ClientConnInterface) CSCCServiceClient
type CSCCServiceServer ¶
type CSCCServiceServer interface { // GetChainInfo allows joining channel using presented genesis block JoinChain(context.Context, *JoinChainRequest) (*empty.Empty, error) GetChannels(context.Context, *empty.Empty) (*peer.ChannelQueryResponse, error) // GetConfigBlock returns genesis block of channel GetConfigBlock(context.Context, *GetConfigBlockRequest) (*common.Block, error) // GetChannelConfig returns channel configuration GetChannelConfig(context.Context, *GetChannelConfigRequest) (*common.Config, error) }
CSCCServiceServer is the server API for CSCCService service.
type CheckCommitReadinessRequest ¶
type CheckCommitReadinessRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Args *lifecycle.CheckCommitReadinessArgs `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*CheckCommitReadinessRequest) Descriptor
deprecated
func (*CheckCommitReadinessRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckCommitReadinessRequest.ProtoReflect.Descriptor instead.
func (*CheckCommitReadinessRequest) GetArgs ¶
func (x *CheckCommitReadinessRequest) GetArgs() *lifecycle.CheckCommitReadinessArgs
func (*CheckCommitReadinessRequest) GetChannel ¶
func (x *CheckCommitReadinessRequest) GetChannel() string
func (*CheckCommitReadinessRequest) ProtoMessage ¶
func (*CheckCommitReadinessRequest) ProtoMessage()
func (*CheckCommitReadinessRequest) ProtoReflect ¶
func (x *CheckCommitReadinessRequest) ProtoReflect() protoreflect.Message
func (*CheckCommitReadinessRequest) Reset ¶
func (x *CheckCommitReadinessRequest) Reset()
func (*CheckCommitReadinessRequest) String ¶
func (x *CheckCommitReadinessRequest) String() string
type CommitChaincodeDefinitionRequest ¶
type CommitChaincodeDefinitionRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Args *lifecycle.CommitChaincodeDefinitionArgs `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*CommitChaincodeDefinitionRequest) Descriptor
deprecated
func (*CommitChaincodeDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitChaincodeDefinitionRequest.ProtoReflect.Descriptor instead.
func (*CommitChaincodeDefinitionRequest) GetArgs ¶
func (x *CommitChaincodeDefinitionRequest) GetArgs() *lifecycle.CommitChaincodeDefinitionArgs
func (*CommitChaincodeDefinitionRequest) GetChannel ¶
func (x *CommitChaincodeDefinitionRequest) GetChannel() string
func (*CommitChaincodeDefinitionRequest) ProtoMessage ¶
func (*CommitChaincodeDefinitionRequest) ProtoMessage()
func (*CommitChaincodeDefinitionRequest) ProtoReflect ¶
func (x *CommitChaincodeDefinitionRequest) ProtoReflect() protoreflect.Message
func (*CommitChaincodeDefinitionRequest) Reset ¶
func (x *CommitChaincodeDefinitionRequest) Reset()
func (*CommitChaincodeDefinitionRequest) String ¶
func (x *CommitChaincodeDefinitionRequest) String() string
type DeployRequest ¶
type DeployRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` DeploymentSpec *peer.ChaincodeDeploymentSpec `protobuf:"bytes,2,opt,name=deployment_spec,json=deploymentSpec,proto3" json:"deployment_spec,omitempty"` Policy *common.SignaturePolicyEnvelope `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy,omitempty"` ESCC string `protobuf:"bytes,4,opt,name=ESCC,proto3" json:"ESCC,omitempty"` VSCC string `protobuf:"bytes,5,opt,name=VSCC,proto3" json:"VSCC,omitempty"` CollectionConfig *common.CollectionConfigPackage `protobuf:"bytes,6,opt,name=collection_config,json=collectionConfig,proto3" json:"collection_config,omitempty"` Transient map[string][]byte `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeployRequest) Descriptor
deprecated
func (*DeployRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployRequest.ProtoReflect.Descriptor instead.
func (*DeployRequest) GetChannel ¶
func (x *DeployRequest) GetChannel() string
func (*DeployRequest) GetCollectionConfig ¶
func (x *DeployRequest) GetCollectionConfig() *common.CollectionConfigPackage
func (*DeployRequest) GetDeploymentSpec ¶
func (x *DeployRequest) GetDeploymentSpec() *peer.ChaincodeDeploymentSpec
func (*DeployRequest) GetESCC ¶
func (x *DeployRequest) GetESCC() string
func (*DeployRequest) GetPolicy ¶
func (x *DeployRequest) GetPolicy() *common.SignaturePolicyEnvelope
func (*DeployRequest) GetTransient ¶
func (x *DeployRequest) GetTransient() map[string][]byte
func (*DeployRequest) GetVSCC ¶
func (x *DeployRequest) GetVSCC() string
func (*DeployRequest) ProtoMessage ¶
func (*DeployRequest) ProtoMessage()
func (*DeployRequest) ProtoReflect ¶
func (x *DeployRequest) ProtoReflect() protoreflect.Message
func (*DeployRequest) Reset ¶
func (x *DeployRequest) Reset()
func (*DeployRequest) String ¶
func (x *DeployRequest) String() string
type GetBlockByHashRequest ¶
type GetBlockByHashRequest struct { ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // contains filtered or unexported fields }
func (*GetBlockByHashRequest) Descriptor
deprecated
func (*GetBlockByHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockByHashRequest.ProtoReflect.Descriptor instead.
func (*GetBlockByHashRequest) GetBlockHash ¶
func (x *GetBlockByHashRequest) GetBlockHash() []byte
func (*GetBlockByHashRequest) GetChannelName ¶
func (x *GetBlockByHashRequest) GetChannelName() string
func (*GetBlockByHashRequest) ProtoMessage ¶
func (*GetBlockByHashRequest) ProtoMessage()
func (*GetBlockByHashRequest) ProtoReflect ¶
func (x *GetBlockByHashRequest) ProtoReflect() protoreflect.Message
func (*GetBlockByHashRequest) Reset ¶
func (x *GetBlockByHashRequest) Reset()
func (*GetBlockByHashRequest) String ¶
func (x *GetBlockByHashRequest) String() string
type GetBlockByNumberRequest ¶
type GetBlockByNumberRequest struct { ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` BlockNumber int64 `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // contains filtered or unexported fields }
func (*GetBlockByNumberRequest) Descriptor
deprecated
func (*GetBlockByNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockByNumberRequest.ProtoReflect.Descriptor instead.
func (*GetBlockByNumberRequest) GetBlockNumber ¶
func (x *GetBlockByNumberRequest) GetBlockNumber() int64
func (*GetBlockByNumberRequest) GetChannelName ¶
func (x *GetBlockByNumberRequest) GetChannelName() string
func (*GetBlockByNumberRequest) ProtoMessage ¶
func (*GetBlockByNumberRequest) ProtoMessage()
func (*GetBlockByNumberRequest) ProtoReflect ¶
func (x *GetBlockByNumberRequest) ProtoReflect() protoreflect.Message
func (*GetBlockByNumberRequest) Reset ¶
func (x *GetBlockByNumberRequest) Reset()
func (*GetBlockByNumberRequest) String ¶
func (x *GetBlockByNumberRequest) String() string
type GetBlockByTxIDRequest ¶
type GetBlockByTxIDRequest struct { ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` TxId string `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // contains filtered or unexported fields }
func (*GetBlockByTxIDRequest) Descriptor
deprecated
func (*GetBlockByTxIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockByTxIDRequest.ProtoReflect.Descriptor instead.
func (*GetBlockByTxIDRequest) GetChannelName ¶
func (x *GetBlockByTxIDRequest) GetChannelName() string
func (*GetBlockByTxIDRequest) GetTxId ¶
func (x *GetBlockByTxIDRequest) GetTxId() string
func (*GetBlockByTxIDRequest) ProtoMessage ¶
func (*GetBlockByTxIDRequest) ProtoMessage()
func (*GetBlockByTxIDRequest) ProtoReflect ¶
func (x *GetBlockByTxIDRequest) ProtoReflect() protoreflect.Message
func (*GetBlockByTxIDRequest) Reset ¶
func (x *GetBlockByTxIDRequest) Reset()
func (*GetBlockByTxIDRequest) String ¶
func (x *GetBlockByTxIDRequest) String() string
type GetChainInfoRequest ¶
type GetChainInfoRequest struct { ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` // contains filtered or unexported fields }
func (*GetChainInfoRequest) Descriptor
deprecated
func (*GetChainInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChainInfoRequest.ProtoReflect.Descriptor instead.
func (*GetChainInfoRequest) GetChannelName ¶
func (x *GetChainInfoRequest) GetChannelName() string
func (*GetChainInfoRequest) ProtoMessage ¶
func (*GetChainInfoRequest) ProtoMessage()
func (*GetChainInfoRequest) ProtoReflect ¶
func (x *GetChainInfoRequest) ProtoReflect() protoreflect.Message
func (*GetChainInfoRequest) Reset ¶
func (x *GetChainInfoRequest) Reset()
func (*GetChainInfoRequest) String ¶
func (x *GetChainInfoRequest) String() string
type GetChaincodeDataRequest ¶
type GetChaincodeDataRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Chaincode string `protobuf:"bytes,2,opt,name=chaincode,proto3" json:"chaincode,omitempty"` // contains filtered or unexported fields }
func (*GetChaincodeDataRequest) Descriptor
deprecated
func (*GetChaincodeDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChaincodeDataRequest.ProtoReflect.Descriptor instead.
func (*GetChaincodeDataRequest) GetChaincode ¶
func (x *GetChaincodeDataRequest) GetChaincode() string
func (*GetChaincodeDataRequest) GetChannel ¶
func (x *GetChaincodeDataRequest) GetChannel() string
func (*GetChaincodeDataRequest) ProtoMessage ¶
func (*GetChaincodeDataRequest) ProtoMessage()
func (*GetChaincodeDataRequest) ProtoReflect ¶
func (x *GetChaincodeDataRequest) ProtoReflect() protoreflect.Message
func (*GetChaincodeDataRequest) Reset ¶
func (x *GetChaincodeDataRequest) Reset()
func (*GetChaincodeDataRequest) String ¶
func (x *GetChaincodeDataRequest) String() string
type GetChaincodesRequest ¶
type GetChaincodesRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*GetChaincodesRequest) Descriptor
deprecated
func (*GetChaincodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChaincodesRequest.ProtoReflect.Descriptor instead.
func (*GetChaincodesRequest) GetChannel ¶
func (x *GetChaincodesRequest) GetChannel() string
func (*GetChaincodesRequest) ProtoMessage ¶
func (*GetChaincodesRequest) ProtoMessage()
func (*GetChaincodesRequest) ProtoReflect ¶
func (x *GetChaincodesRequest) ProtoReflect() protoreflect.Message
func (*GetChaincodesRequest) Reset ¶
func (x *GetChaincodesRequest) Reset()
func (*GetChaincodesRequest) String ¶
func (x *GetChaincodesRequest) String() string
type GetChannelConfigRequest ¶
type GetChannelConfigRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*GetChannelConfigRequest) Descriptor
deprecated
func (*GetChannelConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelConfigRequest.ProtoReflect.Descriptor instead.
func (*GetChannelConfigRequest) GetChannel ¶
func (x *GetChannelConfigRequest) GetChannel() string
func (*GetChannelConfigRequest) ProtoMessage ¶
func (*GetChannelConfigRequest) ProtoMessage()
func (*GetChannelConfigRequest) ProtoReflect ¶
func (x *GetChannelConfigRequest) ProtoReflect() protoreflect.Message
func (*GetChannelConfigRequest) Reset ¶
func (x *GetChannelConfigRequest) Reset()
func (*GetChannelConfigRequest) String ¶
func (x *GetChannelConfigRequest) String() string
type GetConfigBlockRequest ¶
type GetConfigBlockRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*GetConfigBlockRequest) Descriptor
deprecated
func (*GetConfigBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigBlockRequest.ProtoReflect.Descriptor instead.
func (*GetConfigBlockRequest) GetChannel ¶
func (x *GetConfigBlockRequest) GetChannel() string
func (*GetConfigBlockRequest) ProtoMessage ¶
func (*GetConfigBlockRequest) ProtoMessage()
func (*GetConfigBlockRequest) ProtoReflect ¶
func (x *GetConfigBlockRequest) ProtoReflect() protoreflect.Message
func (*GetConfigBlockRequest) Reset ¶
func (x *GetConfigBlockRequest) Reset()
func (*GetConfigBlockRequest) String ¶
func (x *GetConfigBlockRequest) String() string
type GetDeploymentSpecRequest ¶
type GetDeploymentSpecRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Chaincode string `protobuf:"bytes,2,opt,name=chaincode,proto3" json:"chaincode,omitempty"` // contains filtered or unexported fields }
func (*GetDeploymentSpecRequest) Descriptor
deprecated
func (*GetDeploymentSpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentSpecRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentSpecRequest) GetChaincode ¶
func (x *GetDeploymentSpecRequest) GetChaincode() string
func (*GetDeploymentSpecRequest) GetChannel ¶
func (x *GetDeploymentSpecRequest) GetChannel() string
func (*GetDeploymentSpecRequest) ProtoMessage ¶
func (*GetDeploymentSpecRequest) ProtoMessage()
func (*GetDeploymentSpecRequest) ProtoReflect ¶
func (x *GetDeploymentSpecRequest) ProtoReflect() protoreflect.Message
func (*GetDeploymentSpecRequest) Reset ¶
func (x *GetDeploymentSpecRequest) Reset()
func (*GetDeploymentSpecRequest) String ¶
func (x *GetDeploymentSpecRequest) String() string
type GetTransactionByIDRequest ¶
type GetTransactionByIDRequest struct { ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` TxId string `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionByIDRequest) Descriptor
deprecated
func (*GetTransactionByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionByIDRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionByIDRequest) GetChannelName ¶
func (x *GetTransactionByIDRequest) GetChannelName() string
func (*GetTransactionByIDRequest) GetTxId ¶
func (x *GetTransactionByIDRequest) GetTxId() string
func (*GetTransactionByIDRequest) ProtoMessage ¶
func (*GetTransactionByIDRequest) ProtoMessage()
func (*GetTransactionByIDRequest) ProtoReflect ¶
func (x *GetTransactionByIDRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionByIDRequest) Reset ¶
func (x *GetTransactionByIDRequest) Reset()
func (*GetTransactionByIDRequest) String ¶
func (x *GetTransactionByIDRequest) String() string
type JoinChainRequest ¶
type JoinChainRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` GenesisBlock *common.Block `protobuf:"bytes,2,opt,name=genesis_block,json=genesisBlock,proto3" json:"genesis_block,omitempty"` // contains filtered or unexported fields }
func (*JoinChainRequest) Descriptor
deprecated
func (*JoinChainRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinChainRequest.ProtoReflect.Descriptor instead.
func (*JoinChainRequest) GetChannel ¶
func (x *JoinChainRequest) GetChannel() string
func (*JoinChainRequest) GetGenesisBlock ¶
func (x *JoinChainRequest) GetGenesisBlock() *common.Block
func (*JoinChainRequest) ProtoMessage ¶
func (*JoinChainRequest) ProtoMessage()
func (*JoinChainRequest) ProtoReflect ¶
func (x *JoinChainRequest) ProtoReflect() protoreflect.Message
func (*JoinChainRequest) Reset ¶
func (x *JoinChainRequest) Reset()
func (*JoinChainRequest) String ¶
func (x *JoinChainRequest) String() string
type LSCCService ¶
type LSCCService struct { UnimplementedLSCCServiceServer Invoker api.Invoker }
func NewLSCC ¶
func NewLSCC(invoker api.Invoker) *LSCCService
func (*LSCCService) Deploy ¶
func (l *LSCCService) Deploy(ctx context.Context, deploy *DeployRequest) (response *peer.Response, err error)
func (*LSCCService) GetChaincodeData ¶
func (l *LSCCService) GetChaincodeData(ctx context.Context, getChaincodeData *GetChaincodeDataRequest) (*peer.ChaincodeData, error)
func (*LSCCService) GetChaincodes ¶
func (l *LSCCService) GetChaincodes(ctx context.Context, getChaincodes *GetChaincodesRequest) (*peer.ChaincodeQueryResponse, error)
func (*LSCCService) GetDeploymentSpec ¶
func (l *LSCCService) GetDeploymentSpec(ctx context.Context, getDeploymentSpec *GetDeploymentSpecRequest) (*peer.ChaincodeDeploymentSpec, error)
func (*LSCCService) GetInstalledChaincodes ¶
func (l *LSCCService) GetInstalledChaincodes(ctx context.Context, _ *empty.Empty) (*peer.ChaincodeQueryResponse, error)
func (*LSCCService) Install ¶
func (l *LSCCService) Install(ctx context.Context, spec *peer.ChaincodeDeploymentSpec) (*empty.Empty, error)
func (*LSCCService) ServiceDef ¶
func (l *LSCCService) ServiceDef() ServiceDef
type LSCCServiceClient ¶
type LSCCServiceClient interface { // GetChaincodeData returns information about instantiated chaincode on target channel GetChaincodeData(ctx context.Context, in *GetChaincodeDataRequest, opts ...grpc.CallOption) (*peer.ChaincodeData, error) // GetInstalledChaincodes returns list of installed chaincodes on peer GetInstalledChaincodes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*peer.ChaincodeQueryResponse, error) // GetChaincodes returns list of instantiated chaincodes on channel GetChaincodes(ctx context.Context, in *GetChaincodesRequest, opts ...grpc.CallOption) (*peer.ChaincodeQueryResponse, error) // GetDeploymentSpec returns spec for installed chaincode GetDeploymentSpec(ctx context.Context, in *GetDeploymentSpecRequest, opts ...grpc.CallOption) (*peer.ChaincodeDeploymentSpec, error) // Install allows installing chaincode using deployment specification Install(ctx context.Context, in *peer.ChaincodeDeploymentSpec, opts ...grpc.CallOption) (*empty.Empty, error) // Deploy allows instantiating or upgrade chaincode if instantiated // Currently, deploy method is not canonical as lscc implementation, but currently we need to get full proposal, and it's response to broadcast to orderer Deploy(ctx context.Context, in *DeployRequest, opts ...grpc.CallOption) (*peer.Response, error) }
LSCCServiceClient is the client API for LSCCService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLSCCServiceClient ¶
func NewLSCCServiceClient(cc grpc.ClientConnInterface) LSCCServiceClient
type LSCCServiceServer ¶
type LSCCServiceServer interface { // GetChaincodeData returns information about instantiated chaincode on target channel GetChaincodeData(context.Context, *GetChaincodeDataRequest) (*peer.ChaincodeData, error) // GetInstalledChaincodes returns list of installed chaincodes on peer GetInstalledChaincodes(context.Context, *empty.Empty) (*peer.ChaincodeQueryResponse, error) // GetChaincodes returns list of instantiated chaincodes on channel GetChaincodes(context.Context, *GetChaincodesRequest) (*peer.ChaincodeQueryResponse, error) // GetDeploymentSpec returns spec for installed chaincode GetDeploymentSpec(context.Context, *GetDeploymentSpecRequest) (*peer.ChaincodeDeploymentSpec, error) // Install allows installing chaincode using deployment specification Install(context.Context, *peer.ChaincodeDeploymentSpec) (*empty.Empty, error) // Deploy allows instantiating or upgrade chaincode if instantiated // Currently, deploy method is not canonical as lscc implementation, but currently we need to get full proposal, and it's response to broadcast to orderer Deploy(context.Context, *DeployRequest) (*peer.Response, error) }
LSCCServiceServer is the server API for LSCCService service.
type LifecycleService ¶
type LifecycleService struct { UnimplementedLifecycleServiceServer Invoker api.Invoker }
func NewLifecycle ¶
func NewLifecycle(invoker api.Invoker) *LifecycleService
func (*LifecycleService) ApproveChaincodeDefinitionForMyOrg ¶
func (l *LifecycleService) ApproveChaincodeDefinitionForMyOrg(ctx context.Context, approveChaincodeDefinitionForMyOrg *ApproveChaincodeDefinitionForMyOrgRequest) (*empty.Empty, error)
func (*LifecycleService) CheckCommitReadiness ¶
func (l *LifecycleService) CheckCommitReadiness(ctx context.Context, checkCommitReadiness *CheckCommitReadinessRequest) (*lifecycleproto.CheckCommitReadinessResult, error)
func (*LifecycleService) CommitChaincodeDefinition ¶
func (l *LifecycleService) CommitChaincodeDefinition(ctx context.Context, commitChaincodeDefinition *CommitChaincodeDefinitionRequest) (*lifecycleproto.CommitChaincodeDefinitionResult, error)
func (*LifecycleService) InstallChaincode ¶
func (l *LifecycleService) InstallChaincode(ctx context.Context, args *lifecycleproto.InstallChaincodeArgs) (*lifecycleproto.InstallChaincodeResult, error)
func (*LifecycleService) QueryApprovedChaincodeDefinition ¶
func (l *LifecycleService) QueryApprovedChaincodeDefinition(ctx context.Context, queryApprovedChaincodeDefinition *QueryApprovedChaincodeDefinitionRequest) (*lifecycleproto.QueryApprovedChaincodeDefinitionResult, error)
func (*LifecycleService) QueryChaincodeDefinition ¶
func (l *LifecycleService) QueryChaincodeDefinition(ctx context.Context, queryChaincodeDefinition *QueryChaincodeDefinitionRequest) (*lifecycleproto.QueryChaincodeDefinitionResult, error)
func (*LifecycleService) QueryChaincodeDefinitions ¶
func (l *LifecycleService) QueryChaincodeDefinitions(ctx context.Context, queryChaincodeDefinitions *QueryChaincodeDefinitionsRequest) (*lifecycleproto.QueryChaincodeDefinitionsResult, error)
func (*LifecycleService) QueryInstalledChaincode ¶
func (l *LifecycleService) QueryInstalledChaincode(ctx context.Context, args *lifecycleproto.QueryInstalledChaincodeArgs) (*lifecycleproto.QueryInstalledChaincodeResult, error)
func (*LifecycleService) QueryInstalledChaincodes ¶
func (l *LifecycleService) QueryInstalledChaincodes(ctx context.Context, _ *empty.Empty) (*lifecycleproto.QueryInstalledChaincodesResult, error)
func (*LifecycleService) ServiceDef ¶
func (l *LifecycleService) ServiceDef() ServiceDef
type LifecycleServiceClient ¶
type LifecycleServiceClient interface { // QueryInstalledChaincodes returns chaincode packages list installed on peer QueryInstalledChaincodes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*lifecycle.QueryInstalledChaincodesResult, error) // QueryInstalledChaincode returns chaincode package installed on peer QueryInstalledChaincode(ctx context.Context, in *lifecycle.QueryInstalledChaincodeArgs, opts ...grpc.CallOption) (*lifecycle.QueryInstalledChaincodeResult, error) // InstallChaincode sets up chaincode package on peer InstallChaincode(ctx context.Context, in *lifecycle.InstallChaincodeArgs, opts ...grpc.CallOption) (*lifecycle.InstallChaincodeResult, error) // ApproveChaincodeDefinitionForMyOrg marks chaincode definition on a channel ApproveChaincodeDefinitionForMyOrg(ctx context.Context, in *ApproveChaincodeDefinitionForMyOrgRequest, opts ...grpc.CallOption) (*empty.Empty, error) // QueryApprovedChaincodeDefinition returns approved chaincode definition QueryApprovedChaincodeDefinition(ctx context.Context, in *QueryApprovedChaincodeDefinitionRequest, opts ...grpc.CallOption) (*lifecycle.QueryApprovedChaincodeDefinitionResult, error) // CheckCommitReadiness returns commitments statuses of participants on chaincode definition CheckCommitReadiness(ctx context.Context, in *CheckCommitReadinessRequest, opts ...grpc.CallOption) (*lifecycle.CheckCommitReadinessResult, error) // CommitChaincodeDefinition the chaincode definition on the channel CommitChaincodeDefinition(ctx context.Context, in *CommitChaincodeDefinitionRequest, opts ...grpc.CallOption) (*lifecycle.CommitChaincodeDefinitionResult, error) // QueryChaincodeDefinition returns chaincode definition committed on the channel QueryChaincodeDefinition(ctx context.Context, in *QueryChaincodeDefinitionRequest, opts ...grpc.CallOption) (*lifecycle.QueryChaincodeDefinitionResult, error) // QueryChaincodeDefinitions returns chaincode definitions committed on the channel QueryChaincodeDefinitions(ctx context.Context, in *QueryChaincodeDefinitionsRequest, opts ...grpc.CallOption) (*lifecycle.QueryChaincodeDefinitionsResult, error) }
LifecycleServiceClient is the client API for LifecycleService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLifecycleServiceClient ¶
func NewLifecycleServiceClient(cc grpc.ClientConnInterface) LifecycleServiceClient
type LifecycleServiceServer ¶
type LifecycleServiceServer interface { // QueryInstalledChaincodes returns chaincode packages list installed on peer QueryInstalledChaincodes(context.Context, *empty.Empty) (*lifecycle.QueryInstalledChaincodesResult, error) // QueryInstalledChaincode returns chaincode package installed on peer QueryInstalledChaincode(context.Context, *lifecycle.QueryInstalledChaincodeArgs) (*lifecycle.QueryInstalledChaincodeResult, error) // InstallChaincode sets up chaincode package on peer InstallChaincode(context.Context, *lifecycle.InstallChaincodeArgs) (*lifecycle.InstallChaincodeResult, error) // ApproveChaincodeDefinitionForMyOrg marks chaincode definition on a channel ApproveChaincodeDefinitionForMyOrg(context.Context, *ApproveChaincodeDefinitionForMyOrgRequest) (*empty.Empty, error) // QueryApprovedChaincodeDefinition returns approved chaincode definition QueryApprovedChaincodeDefinition(context.Context, *QueryApprovedChaincodeDefinitionRequest) (*lifecycle.QueryApprovedChaincodeDefinitionResult, error) // CheckCommitReadiness returns commitments statuses of participants on chaincode definition CheckCommitReadiness(context.Context, *CheckCommitReadinessRequest) (*lifecycle.CheckCommitReadinessResult, error) // CommitChaincodeDefinition the chaincode definition on the channel CommitChaincodeDefinition(context.Context, *CommitChaincodeDefinitionRequest) (*lifecycle.CommitChaincodeDefinitionResult, error) // QueryChaincodeDefinition returns chaincode definition committed on the channel QueryChaincodeDefinition(context.Context, *QueryChaincodeDefinitionRequest) (*lifecycle.QueryChaincodeDefinitionResult, error) // QueryChaincodeDefinitions returns chaincode definitions committed on the channel QueryChaincodeDefinitions(context.Context, *QueryChaincodeDefinitionsRequest) (*lifecycle.QueryChaincodeDefinitionsResult, error) }
LifecycleServiceServer is the server API for LifecycleService service.
type QSCCService ¶
type QSCCService struct { UnimplementedQSCCServiceServer Querier *tx.ProtoQuerier }
func NewQSCC ¶
func NewQSCC(querier api.Querier) *QSCCService
func (*QSCCService) GetBlockByHash ¶
func (q *QSCCService) GetBlockByHash(ctx context.Context, request *GetBlockByHashRequest) (*common.Block, error)
func (*QSCCService) GetBlockByNumber ¶
func (q *QSCCService) GetBlockByNumber(ctx context.Context, request *GetBlockByNumberRequest) (*common.Block, error)
func (*QSCCService) GetBlockByTxID ¶
func (q *QSCCService) GetBlockByTxID(ctx context.Context, request *GetBlockByTxIDRequest) (*common.Block, error)
func (*QSCCService) GetChainInfo ¶
func (q *QSCCService) GetChainInfo(ctx context.Context, request *GetChainInfoRequest) (*common.BlockchainInfo, error)
func (*QSCCService) GetTransactionByID ¶
func (q *QSCCService) GetTransactionByID(ctx context.Context, request *GetTransactionByIDRequest) (*peer.ProcessedTransaction, error)
func (*QSCCService) ServiceDef ¶
func (q *QSCCService) ServiceDef() ServiceDef
type QSCCServiceClient ¶
type QSCCServiceClient interface { // GetChainInfo allows getting common info about channel blockchain GetChainInfo(ctx context.Context, in *GetChainInfoRequest, opts ...grpc.CallOption) (*common.BlockchainInfo, error) // GetBlockByNumber allows getting block by number GetBlockByNumber(ctx context.Context, in *GetBlockByNumberRequest, opts ...grpc.CallOption) (*common.Block, error) // GetBlockByHash allows getting block by hash GetBlockByHash(ctx context.Context, in *GetBlockByHashRequest, opts ...grpc.CallOption) (*common.Block, error) // GetBlockByTxID allows getting block by transaction GetBlockByTxID(ctx context.Context, in *GetBlockByTxIDRequest, opts ...grpc.CallOption) (*common.Block, error) // GetTransactionByID allows getting transaction by id GetTransactionByID(ctx context.Context, in *GetTransactionByIDRequest, opts ...grpc.CallOption) (*peer.ProcessedTransaction, error) }
QSCCServiceClient is the client API for QSCCService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQSCCServiceClient ¶
func NewQSCCServiceClient(cc grpc.ClientConnInterface) QSCCServiceClient
type QSCCServiceServer ¶
type QSCCServiceServer interface { // GetChainInfo allows getting common info about channel blockchain GetChainInfo(context.Context, *GetChainInfoRequest) (*common.BlockchainInfo, error) // GetBlockByNumber allows getting block by number GetBlockByNumber(context.Context, *GetBlockByNumberRequest) (*common.Block, error) // GetBlockByHash allows getting block by hash GetBlockByHash(context.Context, *GetBlockByHashRequest) (*common.Block, error) // GetBlockByTxID allows getting block by transaction GetBlockByTxID(context.Context, *GetBlockByTxIDRequest) (*common.Block, error) // GetTransactionByID allows getting transaction by id GetTransactionByID(context.Context, *GetTransactionByIDRequest) (*peer.ProcessedTransaction, error) }
QSCCServiceServer is the server API for QSCCService service.
type QueryApprovedChaincodeDefinitionRequest ¶
type QueryApprovedChaincodeDefinitionRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Args *lifecycle.QueryApprovedChaincodeDefinitionArgs `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*QueryApprovedChaincodeDefinitionRequest) Descriptor
deprecated
func (*QueryApprovedChaincodeDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryApprovedChaincodeDefinitionRequest.ProtoReflect.Descriptor instead.
func (*QueryApprovedChaincodeDefinitionRequest) GetArgs ¶
func (x *QueryApprovedChaincodeDefinitionRequest) GetArgs() *lifecycle.QueryApprovedChaincodeDefinitionArgs
func (*QueryApprovedChaincodeDefinitionRequest) GetChannel ¶
func (x *QueryApprovedChaincodeDefinitionRequest) GetChannel() string
func (*QueryApprovedChaincodeDefinitionRequest) ProtoMessage ¶
func (*QueryApprovedChaincodeDefinitionRequest) ProtoMessage()
func (*QueryApprovedChaincodeDefinitionRequest) ProtoReflect ¶
func (x *QueryApprovedChaincodeDefinitionRequest) ProtoReflect() protoreflect.Message
func (*QueryApprovedChaincodeDefinitionRequest) Reset ¶
func (x *QueryApprovedChaincodeDefinitionRequest) Reset()
func (*QueryApprovedChaincodeDefinitionRequest) String ¶
func (x *QueryApprovedChaincodeDefinitionRequest) String() string
type QueryChaincodeDefinitionRequest ¶
type QueryChaincodeDefinitionRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Args *lifecycle.QueryChaincodeDefinitionArgs `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*QueryChaincodeDefinitionRequest) Descriptor
deprecated
func (*QueryChaincodeDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryChaincodeDefinitionRequest.ProtoReflect.Descriptor instead.
func (*QueryChaincodeDefinitionRequest) GetArgs ¶
func (x *QueryChaincodeDefinitionRequest) GetArgs() *lifecycle.QueryChaincodeDefinitionArgs
func (*QueryChaincodeDefinitionRequest) GetChannel ¶
func (x *QueryChaincodeDefinitionRequest) GetChannel() string
func (*QueryChaincodeDefinitionRequest) ProtoMessage ¶
func (*QueryChaincodeDefinitionRequest) ProtoMessage()
func (*QueryChaincodeDefinitionRequest) ProtoReflect ¶
func (x *QueryChaincodeDefinitionRequest) ProtoReflect() protoreflect.Message
func (*QueryChaincodeDefinitionRequest) Reset ¶
func (x *QueryChaincodeDefinitionRequest) Reset()
func (*QueryChaincodeDefinitionRequest) String ¶
func (x *QueryChaincodeDefinitionRequest) String() string
type QueryChaincodeDefinitionsRequest ¶
type QueryChaincodeDefinitionsRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Args *lifecycle.QueryChaincodeDefinitionsArgs `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*QueryChaincodeDefinitionsRequest) Descriptor
deprecated
func (*QueryChaincodeDefinitionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryChaincodeDefinitionsRequest.ProtoReflect.Descriptor instead.
func (*QueryChaincodeDefinitionsRequest) GetArgs ¶
func (x *QueryChaincodeDefinitionsRequest) GetArgs() *lifecycle.QueryChaincodeDefinitionsArgs
func (*QueryChaincodeDefinitionsRequest) GetChannel ¶
func (x *QueryChaincodeDefinitionsRequest) GetChannel() string
func (*QueryChaincodeDefinitionsRequest) ProtoMessage ¶
func (*QueryChaincodeDefinitionsRequest) ProtoMessage()
func (*QueryChaincodeDefinitionsRequest) ProtoReflect ¶
func (x *QueryChaincodeDefinitionsRequest) ProtoReflect() protoreflect.Message
func (*QueryChaincodeDefinitionsRequest) Reset ¶
func (x *QueryChaincodeDefinitionsRequest) Reset()
func (*QueryChaincodeDefinitionsRequest) String ¶
func (x *QueryChaincodeDefinitionsRequest) String() string
type ServiceDef ¶
type ServiceDef struct { Desc *grpc.ServiceDesc Service interface{} HandlerFromEndpointRegister RegisterHandlerFromEndpoint // contains filtered or unexported fields }
func NewServiceDef ¶
func NewServiceDef(name string, swagger []byte, desc *grpc.ServiceDesc, service interface{}, registerHandler RegisterHandlerFromEndpoint) ServiceDef
func (ServiceDef) GRPCDesc ¶
func (s ServiceDef) GRPCDesc() *grpc.ServiceDesc
func (ServiceDef) GRPCGatewayRegister ¶
func (s ServiceDef) GRPCGatewayRegister() func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
func (ServiceDef) Impl ¶
func (s ServiceDef) Impl() interface{}
func (ServiceDef) Name ¶
func (s ServiceDef) Name() string
func (ServiceDef) Swagger ¶
func (s ServiceDef) Swagger() []byte
type UnimplementedCSCCServiceServer ¶
type UnimplementedCSCCServiceServer struct { }
UnimplementedCSCCServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCSCCServiceServer) GetChannelConfig ¶
func (*UnimplementedCSCCServiceServer) GetChannelConfig(context.Context, *GetChannelConfigRequest) (*common.Config, error)
func (*UnimplementedCSCCServiceServer) GetChannels ¶
func (*UnimplementedCSCCServiceServer) GetChannels(context.Context, *empty.Empty) (*peer.ChannelQueryResponse, error)
func (*UnimplementedCSCCServiceServer) GetConfigBlock ¶
func (*UnimplementedCSCCServiceServer) GetConfigBlock(context.Context, *GetConfigBlockRequest) (*common.Block, error)
func (*UnimplementedCSCCServiceServer) JoinChain ¶
func (*UnimplementedCSCCServiceServer) JoinChain(context.Context, *JoinChainRequest) (*empty.Empty, error)
type UnimplementedLSCCServiceServer ¶
type UnimplementedLSCCServiceServer struct { }
UnimplementedLSCCServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLSCCServiceServer) Deploy ¶
func (*UnimplementedLSCCServiceServer) Deploy(context.Context, *DeployRequest) (*peer.Response, error)
func (*UnimplementedLSCCServiceServer) GetChaincodeData ¶
func (*UnimplementedLSCCServiceServer) GetChaincodeData(context.Context, *GetChaincodeDataRequest) (*peer.ChaincodeData, error)
func (*UnimplementedLSCCServiceServer) GetChaincodes ¶
func (*UnimplementedLSCCServiceServer) GetChaincodes(context.Context, *GetChaincodesRequest) (*peer.ChaincodeQueryResponse, error)
func (*UnimplementedLSCCServiceServer) GetDeploymentSpec ¶
func (*UnimplementedLSCCServiceServer) GetDeploymentSpec(context.Context, *GetDeploymentSpecRequest) (*peer.ChaincodeDeploymentSpec, error)
func (*UnimplementedLSCCServiceServer) GetInstalledChaincodes ¶
func (*UnimplementedLSCCServiceServer) GetInstalledChaincodes(context.Context, *empty.Empty) (*peer.ChaincodeQueryResponse, error)
func (*UnimplementedLSCCServiceServer) Install ¶
func (*UnimplementedLSCCServiceServer) Install(context.Context, *peer.ChaincodeDeploymentSpec) (*empty.Empty, error)
type UnimplementedLifecycleServiceServer ¶
type UnimplementedLifecycleServiceServer struct { }
UnimplementedLifecycleServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLifecycleServiceServer) ApproveChaincodeDefinitionForMyOrg ¶
func (*UnimplementedLifecycleServiceServer) ApproveChaincodeDefinitionForMyOrg(context.Context, *ApproveChaincodeDefinitionForMyOrgRequest) (*empty.Empty, error)
func (*UnimplementedLifecycleServiceServer) CheckCommitReadiness ¶
func (*UnimplementedLifecycleServiceServer) CheckCommitReadiness(context.Context, *CheckCommitReadinessRequest) (*lifecycle.CheckCommitReadinessResult, error)
func (*UnimplementedLifecycleServiceServer) CommitChaincodeDefinition ¶
func (*UnimplementedLifecycleServiceServer) CommitChaincodeDefinition(context.Context, *CommitChaincodeDefinitionRequest) (*lifecycle.CommitChaincodeDefinitionResult, error)
func (*UnimplementedLifecycleServiceServer) InstallChaincode ¶
func (*UnimplementedLifecycleServiceServer) InstallChaincode(context.Context, *lifecycle.InstallChaincodeArgs) (*lifecycle.InstallChaincodeResult, error)
func (*UnimplementedLifecycleServiceServer) QueryApprovedChaincodeDefinition ¶
func (*UnimplementedLifecycleServiceServer) QueryApprovedChaincodeDefinition(context.Context, *QueryApprovedChaincodeDefinitionRequest) (*lifecycle.QueryApprovedChaincodeDefinitionResult, error)
func (*UnimplementedLifecycleServiceServer) QueryChaincodeDefinition ¶
func (*UnimplementedLifecycleServiceServer) QueryChaincodeDefinition(context.Context, *QueryChaincodeDefinitionRequest) (*lifecycle.QueryChaincodeDefinitionResult, error)
func (*UnimplementedLifecycleServiceServer) QueryChaincodeDefinitions ¶
func (*UnimplementedLifecycleServiceServer) QueryChaincodeDefinitions(context.Context, *QueryChaincodeDefinitionsRequest) (*lifecycle.QueryChaincodeDefinitionsResult, error)
func (*UnimplementedLifecycleServiceServer) QueryInstalledChaincode ¶
func (*UnimplementedLifecycleServiceServer) QueryInstalledChaincode(context.Context, *lifecycle.QueryInstalledChaincodeArgs) (*lifecycle.QueryInstalledChaincodeResult, error)
func (*UnimplementedLifecycleServiceServer) QueryInstalledChaincodes ¶
func (*UnimplementedLifecycleServiceServer) QueryInstalledChaincodes(context.Context, *empty.Empty) (*lifecycle.QueryInstalledChaincodesResult, error)
type UnimplementedQSCCServiceServer ¶
type UnimplementedQSCCServiceServer struct { }
UnimplementedQSCCServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQSCCServiceServer) GetBlockByHash ¶
func (*UnimplementedQSCCServiceServer) GetBlockByHash(context.Context, *GetBlockByHashRequest) (*common.Block, error)
func (*UnimplementedQSCCServiceServer) GetBlockByNumber ¶
func (*UnimplementedQSCCServiceServer) GetBlockByNumber(context.Context, *GetBlockByNumberRequest) (*common.Block, error)
func (*UnimplementedQSCCServiceServer) GetBlockByTxID ¶
func (*UnimplementedQSCCServiceServer) GetBlockByTxID(context.Context, *GetBlockByTxIDRequest) (*common.Block, error)
func (*UnimplementedQSCCServiceServer) GetChainInfo ¶
func (*UnimplementedQSCCServiceServer) GetChainInfo(context.Context, *GetChainInfoRequest) (*common.BlockchainInfo, error)
func (*UnimplementedQSCCServiceServer) GetTransactionByID ¶
func (*UnimplementedQSCCServiceServer) GetTransactionByID(context.Context, *GetTransactionByIDRequest) (*peer.ProcessedTransaction, error)