composerv1alpha1grpc

package
v1.3.0-20240329163554-... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	GrpcCollectorService_SubmitRollupTransaction_FullMethodName = "/astria.composer.v1alpha1.GrpcCollectorService/SubmitRollupTransaction"
)

Variables

View Source
var GrpcCollectorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "astria.composer.v1alpha1.GrpcCollectorService",
	HandlerType: (*GrpcCollectorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SubmitRollupTransaction",
			Handler:    _GrpcCollectorService_SubmitRollupTransaction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "astria/composer/v1alpha1/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 *v1alpha1.SubmitRollupTransactionRequest, opts ...grpc.CallOption) (*v1alpha1.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.

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, *v1alpha1.SubmitRollupTransactionRequest) (*v1alpha1.SubmitRollupTransactionResponse, error)
}

GrpcCollectorServiceServer is the server API for GrpcCollectorService service. All implementations should embed UnimplementedGrpcCollectorServiceServer for forward compatibility

type UnimplementedGrpcCollectorServiceServer

type UnimplementedGrpcCollectorServiceServer struct {
}

UnimplementedGrpcCollectorServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedGrpcCollectorServiceServer) SubmitRollupTransaction

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.

Jump to

Keyboard shortcuts

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