Documentation
¶
Index ¶
Constants ¶
const (
GrpcCollectorService_SubmitRollupTransaction_FullMethodName = "/astria.composer.v1.GrpcCollectorService/SubmitRollupTransaction"
)
Variables ¶
var GrpcCollectorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "astria.composer.v1.GrpcCollectorService", HandlerType: (*GrpcCollectorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubmitRollupTransaction", Handler: _GrpcCollectorService_SubmitRollupTransaction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "astria/composer/v1/grpc_collector.proto", }
GrpcCollectorService_ServiceDesc is the grpc.ServiceDesc for GrpcCollectorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGrpcCollectorServiceServer ¶
func RegisterGrpcCollectorServiceServer(s grpc.ServiceRegistrar, srv GrpcCollectorServiceServer)
Types ¶
type GrpcCollectorServiceClient ¶
type GrpcCollectorServiceClient interface {
// SubmitRollupTransaction submits a rollup transactions to the Composer.
// The transaction sent is bundled up with other transactions and submitted to the Shared Sequencer Network.
SubmitRollupTransaction(ctx context.Context, in *v1.SubmitRollupTransactionRequest, opts ...grpc.CallOption) (*v1.SubmitRollupTransactionResponse, error)
}
GrpcCollectorServiceClient is the client API for GrpcCollectorService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
GrpcCollectorService is a service that defines the gRPC collector of the Composer
func NewGrpcCollectorServiceClient ¶
func NewGrpcCollectorServiceClient(cc grpc.ClientConnInterface) GrpcCollectorServiceClient
type GrpcCollectorServiceServer ¶
type GrpcCollectorServiceServer interface {
// SubmitRollupTransaction submits a rollup transactions to the Composer.
// The transaction sent is bundled up with other transactions and submitted to the Shared Sequencer Network.
SubmitRollupTransaction(context.Context, *v1.SubmitRollupTransactionRequest) (*v1.SubmitRollupTransactionResponse, error)
}
GrpcCollectorServiceServer is the server API for GrpcCollectorService service. All implementations should embed UnimplementedGrpcCollectorServiceServer for forward compatibility.
GrpcCollectorService is a service that defines the gRPC collector of the Composer
type UnimplementedGrpcCollectorServiceServer ¶
type UnimplementedGrpcCollectorServiceServer struct{}
UnimplementedGrpcCollectorServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedGrpcCollectorServiceServer) SubmitRollupTransaction ¶
func (UnimplementedGrpcCollectorServiceServer) SubmitRollupTransaction(context.Context, *v1.SubmitRollupTransactionRequest) (*v1.SubmitRollupTransactionResponse, error)
type UnsafeGrpcCollectorServiceServer ¶
type UnsafeGrpcCollectorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGrpcCollectorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GrpcCollectorServiceServer will result in compilation errors.
Source Files
¶
- grpc_collector_grpc.pb.go