v1

package
v1.10.5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.CommandService",
	HandlerType: (*CommandServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AutoMigrate",
			Handler:    _CommandService_AutoMigrate_Handler,
		},
		{
			MethodName: "Insert",
			Handler:    _CommandService_Insert_Handler,
		},
		{
			MethodName: "InsertBatch",
			Handler:    _CommandService_InsertBatch_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _CommandService_Delete_Handler,
		},
		{
			MethodName: "DeleteWhere",
			Handler:    _CommandService_DeleteWhere_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _CommandService_Update_Handler,
		},
		{
			MethodName: "UpdateWhere",
			Handler:    _CommandService_UpdateWhere_Handler,
		},
		{
			MethodName: "Replay",
			Handler:    _CommandService_Replay_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Transaction",
			Handler:       _CommandService_Transaction_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "v1/command.proto",
}

CommandService_ServiceDesc is the grpc.ServiceDesc for CommandService 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 EventQueryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.EventQueryService",
	HandlerType: (*EventQueryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EventQueryByKeys",
			Handler:    _EventQueryService_EventQueryByKeys_Handler,
		},
		{
			MethodName: "CommonEventQuery",
			Handler:    _EventQueryService_CommonEventQuery_Handler,
		},
		{
			MethodName: "EventQueryOnlyByKeys",
			Handler:    _EventQueryService_EventQueryOnlyByKeys_Handler,
		},
		{
			MethodName: "CommonEventQueryOnly",
			Handler:    _EventQueryService_CommonEventQueryOnly_Handler,
		},
		{
			MethodName: "CountEventByKeys",
			Handler:    _EventQueryService_CountEventByKeys_Handler,
		},
		{
			MethodName: "CommonCountEvent",
			Handler:    _EventQueryService_CommonCountEvent_Handler,
		},
		{
			MethodName: "EventHistoryQueryByKeys",
			Handler:    _EventQueryService_EventHistoryQueryByKeys_Handler,
		},
		{
			MethodName: "CommonEventHistoryQuery",
			Handler:    _EventQueryService_CommonEventHistoryQuery_Handler,
		},
		{
			MethodName: "EventHistoryQueryOnlyByKeys",
			Handler:    _EventQueryService_EventHistoryQueryOnlyByKeys_Handler,
		},
		{
			MethodName: "CommonEventHistoryQueryOnly",
			Handler:    _EventQueryService_CommonEventHistoryQueryOnly_Handler,
		},
		{
			MethodName: "CountEventHistoryByKeys",
			Handler:    _EventQueryService_CountEventHistoryByKeys_Handler,
		},
		{
			MethodName: "CommonCountEventHistory",
			Handler:    _EventQueryService_CommonCountEventHistory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/event_query.proto",
}

EventQueryService_ServiceDesc is the grpc.ServiceDesc for EventQueryService 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_v1_command_proto protoreflect.FileDescriptor
View Source
var File_v1_event_query_proto protoreflect.FileDescriptor
View Source
var File_v1_query_proto protoreflect.FileDescriptor
View Source
var QueryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.QueryService",
	HandlerType: (*QueryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "QueryByWhereAndOrderBy",
			Handler:    _QueryService_QueryByWhereAndOrderBy_Handler,
		},
		{
			MethodName: "CommonQuery",
			Handler:    _QueryService_CommonQuery_Handler,
		},
		{
			MethodName: "QueryOnlyByWhereAndOrderBy",
			Handler:    _QueryService_QueryOnlyByWhereAndOrderBy_Handler,
		},
		{
			MethodName: "CommonQueryOnly",
			Handler:    _QueryService_CommonQueryOnly_Handler,
		},
		{
			MethodName: "QueryByKeys",
			Handler:    _QueryService_QueryByKeys_Handler,
		},
		{
			MethodName: "CountWhere",
			Handler:    _QueryService_CountWhere_Handler,
		},
		{
			MethodName: "CommonCount",
			Handler:    _QueryService_CommonCount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/query.proto",
}

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

Functions

func RegisterCommandServiceServer

func RegisterCommandServiceServer(s grpc.ServiceRegistrar, srv CommandServiceServer)

func RegisterEventQueryServiceServer

func RegisterEventQueryServiceServer(s grpc.ServiceRegistrar, srv EventQueryServiceServer)

func RegisterQueryServiceServer

func RegisterQueryServiceServer(s grpc.ServiceRegistrar, srv QueryServiceServer)

Types

type CommandServiceClient

CommandServiceClient is the client API for CommandService 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 CommandServiceServer

CommandServiceServer is the server API for CommandService service. All implementations must embed UnimplementedCommandServiceServer for forward compatibility

type CommandService_TransactionClient

type CommandService_TransactionClient interface {
	Send(*request.TransactionOperation) error
	Recv() (*response.CommandStatementResponse, error)
	grpc.ClientStream
}

type CommandService_TransactionServer

type CommandService_TransactionServer interface {
	Send(*response.CommandStatementResponse) error
	Recv() (*request.TransactionOperation, error)
	grpc.ServerStream
}

type EventQueryServiceClient

type EventQueryServiceClient interface {
	EventQueryByKeys(ctx context.Context, in *request.EventQueryByKeysRequest, opts ...grpc.CallOption) (*response.EventQueryResponse, error)
	CommonEventQuery(ctx context.Context, in *request.CommonEventQueryRequest, opts ...grpc.CallOption) (*response.EventQueryResponse, error)
	EventQueryOnlyByKeys(ctx context.Context, in *request.EventQueryByKeysRequest, opts ...grpc.CallOption) (*response.EventQueryOnlyResponse, error)
	CommonEventQueryOnly(ctx context.Context, in *request.CommonEventQueryRequest, opts ...grpc.CallOption) (*response.EventQueryOnlyResponse, error)
	CountEventByKeys(ctx context.Context, in *request.CountEventByKeysRequest, opts ...grpc.CallOption) (*response.CountEventResponse, error)
	CommonCountEvent(ctx context.Context, in *request.CommonCountEventRequest, opts ...grpc.CallOption) (*response.CountEventResponse, error)
	EventHistoryQueryByKeys(ctx context.Context, in *request.EventQueryByKeysRequest, opts ...grpc.CallOption) (*response.EventQueryResponse, error)
	CommonEventHistoryQuery(ctx context.Context, in *request.CommonEventQueryRequest, opts ...grpc.CallOption) (*response.EventQueryResponse, error)
	EventHistoryQueryOnlyByKeys(ctx context.Context, in *request.EventQueryByKeysRequest, opts ...grpc.CallOption) (*response.EventQueryOnlyResponse, error)
	CommonEventHistoryQueryOnly(ctx context.Context, in *request.CommonEventQueryRequest, opts ...grpc.CallOption) (*response.EventQueryOnlyResponse, error)
	CountEventHistoryByKeys(ctx context.Context, in *request.CountEventByKeysRequest, opts ...grpc.CallOption) (*response.CountEventResponse, error)
	CommonCountEventHistory(ctx context.Context, in *request.CommonCountEventRequest, opts ...grpc.CallOption) (*response.CountEventResponse, error)
}

EventQueryServiceClient is the client API for EventQueryService 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 EventQueryServiceServer

EventQueryServiceServer is the server API for EventQueryService service. All implementations must embed UnimplementedEventQueryServiceServer for forward compatibility

type QueryServiceClient

QueryServiceClient is the client API for QueryService 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 QueryServiceServer

QueryServiceServer is the server API for QueryService service. All implementations must embed UnimplementedQueryServiceServer for forward compatibility

type UnimplementedCommandServiceServer

type UnimplementedCommandServiceServer struct {
}

UnimplementedCommandServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCommandServiceServer) AutoMigrate

func (UnimplementedCommandServiceServer) DeleteWhere added in v1.6.6

func (UnimplementedCommandServiceServer) Transaction

func (UnimplementedCommandServiceServer) UpdateWhere added in v1.7.0

type UnimplementedEventQueryServiceServer

type UnimplementedEventQueryServiceServer struct {
}

UnimplementedEventQueryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEventQueryServiceServer) CommonCountEvent

func (UnimplementedEventQueryServiceServer) CommonCountEventHistory

func (UnimplementedEventQueryServiceServer) CommonEventHistoryQuery

func (UnimplementedEventQueryServiceServer) CommonEventHistoryQueryOnly

func (UnimplementedEventQueryServiceServer) CommonEventQuery

func (UnimplementedEventQueryServiceServer) CountEventByKeys

func (UnimplementedEventQueryServiceServer) CountEventHistoryByKeys

func (UnimplementedEventQueryServiceServer) EventHistoryQueryByKeys

func (UnimplementedEventQueryServiceServer) EventHistoryQueryOnlyByKeys

func (UnimplementedEventQueryServiceServer) EventQueryByKeys

type UnimplementedQueryServiceServer

type UnimplementedQueryServiceServer struct {
}

UnimplementedQueryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServiceServer) CommonCount

func (UnimplementedQueryServiceServer) CommonQuery

func (UnimplementedQueryServiceServer) CommonQueryOnly

func (UnimplementedQueryServiceServer) CountWhere

type UnsafeCommandServiceServer

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

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

type UnsafeEventQueryServiceServer

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

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

type UnsafeQueryServiceServer

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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