event_store_grpc_service

package
v0.0.0-...-5ac8f6f Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EventStoreGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "EventStoreGrpcService",
	HandlerType: (*EventStoreGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DeleteEventStoreStream",
			Handler:    _EventStoreGrpcService_DeleteEventStoreStream_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "event_store.proto",
}

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

View Source
var File_event_store_proto protoreflect.FileDescriptor

Functions

func RegisterEventStoreGrpcServiceServer

func RegisterEventStoreGrpcServiceServer(s grpc.ServiceRegistrar, srv EventStoreGrpcServiceServer)

Types

type DeleteEventStoreStreamRequest

type DeleteEventStoreStreamRequest struct {
	Tenant               string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Type                 string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Id                   string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	MinutesUntilDeletion int64  `protobuf:"varint,4,opt,name=minutesUntilDeletion,proto3" json:"minutesUntilDeletion,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEventStoreStreamRequest) Descriptor deprecated

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

Deprecated: Use DeleteEventStoreStreamRequest.ProtoReflect.Descriptor instead.

func (*DeleteEventStoreStreamRequest) GetId

func (*DeleteEventStoreStreamRequest) GetMinutesUntilDeletion

func (x *DeleteEventStoreStreamRequest) GetMinutesUntilDeletion() int64

func (*DeleteEventStoreStreamRequest) GetTenant

func (x *DeleteEventStoreStreamRequest) GetTenant() string

func (*DeleteEventStoreStreamRequest) GetType

func (*DeleteEventStoreStreamRequest) ProtoMessage

func (*DeleteEventStoreStreamRequest) ProtoMessage()

func (*DeleteEventStoreStreamRequest) ProtoReflect

func (*DeleteEventStoreStreamRequest) Reset

func (x *DeleteEventStoreStreamRequest) Reset()

func (*DeleteEventStoreStreamRequest) String

type EventStoreGrpcServiceClient

type EventStoreGrpcServiceClient interface {
	DeleteEventStoreStream(ctx context.Context, in *DeleteEventStoreStreamRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

EventStoreGrpcServiceClient is the client API for EventStoreGrpcService 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 EventStoreGrpcServiceServer

type EventStoreGrpcServiceServer interface {
	DeleteEventStoreStream(context.Context, *DeleteEventStoreStreamRequest) (*emptypb.Empty, error)
}

EventStoreGrpcServiceServer is the server API for EventStoreGrpcService service. All implementations should embed UnimplementedEventStoreGrpcServiceServer for forward compatibility

type UnimplementedEventStoreGrpcServiceServer

type UnimplementedEventStoreGrpcServiceServer struct {
}

UnimplementedEventStoreGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedEventStoreGrpcServiceServer) DeleteEventStoreStream

type UnsafeEventStoreGrpcServiceServer

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

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

Jump to

Keyboard shortcuts

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