grpc

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetaTransactionService_CleanStuckMetaTransactions_FullMethodName = "/metatransactions.MetaTransactionService/CleanStuckMetaTransactions"
)

Variables

View Source
var File_pkg_grpc_meta_transactions_proto protoreflect.FileDescriptor
View Source
var MetaTransactionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metatransactions.MetaTransactionService",
	HandlerType: (*MetaTransactionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CleanStuckMetaTransactions",
			Handler:    _MetaTransactionService_CleanStuckMetaTransactions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/grpc/meta_transactions.proto",
}

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

Functions

func RegisterMetaTransactionServiceServer

func RegisterMetaTransactionServiceServer(s grpc.ServiceRegistrar, srv MetaTransactionServiceServer)

Types

type CleanStuckMetaTransactionsResponse

type CleanStuckMetaTransactionsResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CleanStuckMetaTransactionsResponse) Descriptor deprecated

func (*CleanStuckMetaTransactionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use CleanStuckMetaTransactionsResponse.ProtoReflect.Descriptor instead.

func (*CleanStuckMetaTransactionsResponse) GetId

func (*CleanStuckMetaTransactionsResponse) ProtoMessage

func (*CleanStuckMetaTransactionsResponse) ProtoMessage()

func (*CleanStuckMetaTransactionsResponse) ProtoReflect

func (*CleanStuckMetaTransactionsResponse) Reset

func (*CleanStuckMetaTransactionsResponse) String

type MetaTransactionServiceClient

type MetaTransactionServiceClient interface {
	CleanStuckMetaTransactions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CleanStuckMetaTransactionsResponse, error)
}

MetaTransactionServiceClient is the client API for MetaTransactionService 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.

type MetaTransactionServiceServer

type MetaTransactionServiceServer interface {
	CleanStuckMetaTransactions(context.Context, *emptypb.Empty) (*CleanStuckMetaTransactionsResponse, error)
	// contains filtered or unexported methods
}

MetaTransactionServiceServer is the server API for MetaTransactionService service. All implementations must embed UnimplementedMetaTransactionServiceServer for forward compatibility

type UnimplementedMetaTransactionServiceServer

type UnimplementedMetaTransactionServiceServer struct {
}

UnimplementedMetaTransactionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMetaTransactionServiceServer) CleanStuckMetaTransactions

type UnsafeMetaTransactionServiceServer

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

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

Jump to

Keyboard shortcuts

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