executionv1alpha1grpc

package
v1.3.0-20240423053323-... 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: 0

Documentation

Index

Constants

View Source
const (
	ExecutionService_InitState_FullMethodName     = "/astria.execution.v1alpha1.ExecutionService/InitState"
	ExecutionService_DoBlock_FullMethodName       = "/astria.execution.v1alpha1.ExecutionService/DoBlock"
	ExecutionService_FinalizeBlock_FullMethodName = "/astria.execution.v1alpha1.ExecutionService/FinalizeBlock"
)

Variables

View Source
var ExecutionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "astria.execution.v1alpha1.ExecutionService",
	HandlerType: (*ExecutionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "InitState",
			Handler:    _ExecutionService_InitState_Handler,
		},
		{
			MethodName: "DoBlock",
			Handler:    _ExecutionService_DoBlock_Handler,
		},
		{
			MethodName: "FinalizeBlock",
			Handler:    _ExecutionService_FinalizeBlock_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "astria/execution/v1alpha1/execution.proto",
}

ExecutionService_ServiceDesc is the grpc.ServiceDesc for ExecutionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterExecutionServiceServer

func RegisterExecutionServiceServer(s grpc.ServiceRegistrar, srv ExecutionServiceServer)

Types

type ExecutionServiceClient

type ExecutionServiceClient interface {
	InitState(ctx context.Context, in *v1alpha1.InitStateRequest, opts ...grpc.CallOption) (*v1alpha1.InitStateResponse, error)
	DoBlock(ctx context.Context, in *v1alpha1.DoBlockRequest, opts ...grpc.CallOption) (*v1alpha1.DoBlockResponse, error)
	FinalizeBlock(ctx context.Context, in *v1alpha1.FinalizeBlockRequest, opts ...grpc.CallOption) (*v1alpha1.FinalizeBlockResponse, error)
}

ExecutionServiceClient is the client API for ExecutionService 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 NewExecutionServiceClient

func NewExecutionServiceClient(cc grpc.ClientConnInterface) ExecutionServiceClient

type ExecutionServiceServer

ExecutionServiceServer is the server API for ExecutionService service. All implementations should embed UnimplementedExecutionServiceServer for forward compatibility

type UnimplementedExecutionServiceServer

type UnimplementedExecutionServiceServer struct {
}

UnimplementedExecutionServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedExecutionServiceServer) DoBlock

func (UnimplementedExecutionServiceServer) FinalizeBlock

func (UnimplementedExecutionServiceServer) InitState

type UnsafeExecutionServiceServer

type UnsafeExecutionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeExecutionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExecutionServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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