system

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 28 Imported by: 0

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

View Source
const (
	CSCCName      = `cscc`
	QSCCName      = `qscc`
	LSCCName      = `lscc`
	LifecycleName = `_lifecycle`
)
View Source
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

View Source
var CSCCServiceSwagger []byte
View Source
var File_lifecycle_proto protoreflect.FileDescriptor
View Source
var LSCCServiceSwagger []byte
View Source
var LifecycleServiceSwagger []byte
View Source
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 (*ApproveChaincodeDefinitionForMyOrgRequest) GetChannel

func (*ApproveChaincodeDefinitionForMyOrgRequest) ProtoMessage

func (*ApproveChaincodeDefinitionForMyOrgRequest) ProtoReflect

func (*ApproveChaincodeDefinitionForMyOrgRequest) Reset

func (*ApproveChaincodeDefinitionForMyOrgRequest) String

type CSCCChannelsFetcher

type CSCCChannelsFetcher struct {
	Querier *tx.ProtoQuerier
}

func NewCSCCChannelsFetcher

func NewCSCCChannelsFetcher(querier api.Querier) *CSCCChannelsFetcher

func (*CSCCChannelsFetcher) GetChannels

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.

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 (*CheckCommitReadinessRequest) GetChannel

func (x *CheckCommitReadinessRequest) GetChannel() string

func (*CheckCommitReadinessRequest) ProtoMessage

func (*CheckCommitReadinessRequest) ProtoMessage()

func (*CheckCommitReadinessRequest) ProtoReflect

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 (*CommitChaincodeDefinitionRequest) GetChannel

func (x *CommitChaincodeDefinitionRequest) GetChannel() string

func (*CommitChaincodeDefinitionRequest) ProtoMessage

func (*CommitChaincodeDefinitionRequest) ProtoMessage()

func (*CommitChaincodeDefinitionRequest) ProtoReflect

func (*CommitChaincodeDefinitionRequest) Reset

func (*CommitChaincodeDefinitionRequest) 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 (*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 (*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 (*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.

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) 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) QueryInstalledChaincodes

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.

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.

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 (*QueryApprovedChaincodeDefinitionRequest) GetChannel

func (*QueryApprovedChaincodeDefinitionRequest) ProtoMessage

func (*QueryApprovedChaincodeDefinitionRequest) ProtoReflect

func (*QueryApprovedChaincodeDefinitionRequest) Reset

func (*QueryApprovedChaincodeDefinitionRequest) 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 (*QueryChaincodeDefinitionRequest) GetChannel

func (x *QueryChaincodeDefinitionRequest) GetChannel() string

func (*QueryChaincodeDefinitionRequest) ProtoMessage

func (*QueryChaincodeDefinitionRequest) ProtoMessage()

func (*QueryChaincodeDefinitionRequest) ProtoReflect

func (*QueryChaincodeDefinitionRequest) Reset

func (*QueryChaincodeDefinitionRequest) 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 (*QueryChaincodeDefinitionsRequest) GetChannel

func (x *QueryChaincodeDefinitionsRequest) GetChannel() string

func (*QueryChaincodeDefinitionsRequest) ProtoMessage

func (*QueryChaincodeDefinitionsRequest) ProtoMessage()

func (*QueryChaincodeDefinitionsRequest) ProtoReflect

func (*QueryChaincodeDefinitionsRequest) Reset

func (*QueryChaincodeDefinitionsRequest) String

type RegisterHandlerFromEndpoint

type RegisterHandlerFromEndpoint func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

type Service

type Service interface {
	Name() string
	Swagger() []byte
	GRPCDesc() *grpc.ServiceDesc
	Impl() interface{}
	GRPCGatewayRegister() func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
}

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) GetChannels

func (*UnimplementedCSCCServiceServer) GetConfigBlock

func (*UnimplementedCSCCServiceServer) JoinChain

type UnimplementedLSCCServiceServer

type UnimplementedLSCCServiceServer struct {
}

UnimplementedLSCCServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLSCCServiceServer) Deploy

func (*UnimplementedLSCCServiceServer) GetChaincodeData

func (*UnimplementedLSCCServiceServer) GetChaincodes

func (*UnimplementedLSCCServiceServer) GetDeploymentSpec

func (*UnimplementedLSCCServiceServer) GetInstalledChaincodes

func (*UnimplementedLSCCServiceServer) Install

type UnimplementedLifecycleServiceServer

type UnimplementedLifecycleServiceServer struct {
}

UnimplementedLifecycleServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLifecycleServiceServer) ApproveChaincodeDefinitionForMyOrg

func (*UnimplementedLifecycleServiceServer) QueryInstalledChaincodes

type UnimplementedQSCCServiceServer

type UnimplementedQSCCServiceServer struct {
}

UnimplementedQSCCServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedQSCCServiceServer) GetBlockByHash

func (*UnimplementedQSCCServiceServer) GetBlockByNumber

func (*UnimplementedQSCCServiceServer) GetBlockByTxID

func (*UnimplementedQSCCServiceServer) GetChainInfo

func (*UnimplementedQSCCServiceServer) GetTransactionByID

Jump to

Keyboard shortcuts

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