v1

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_v1_sql_proto protoreflect.FileDescriptor
View Source
var SqlService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.SqlService",
	HandlerType: (*SqlServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Transaction",
			Handler:       _SqlService_Transaction_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "v1/sql.proto",
}

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

Functions

func RegisterSqlServiceServer

func RegisterSqlServiceServer(s grpc.ServiceRegistrar, srv SqlServiceServer)

Types

type SqlServiceClient

type SqlServiceClient interface {
	Transaction(ctx context.Context, opts ...grpc.CallOption) (SqlService_TransactionClient, error)
}

SqlServiceClient is the client API for SqlService 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 NewSqlServiceClient

func NewSqlServiceClient(cc grpc.ClientConnInterface) SqlServiceClient

type SqlServiceServer

type SqlServiceServer interface {
	Transaction(SqlService_TransactionServer) error
	// contains filtered or unexported methods
}

SqlServiceServer is the server API for SqlService service. All implementations must embed UnimplementedSqlServiceServer for forward compatibility

type SqlService_TransactionClient

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

type SqlService_TransactionServer

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

type UnimplementedSqlServiceServer

type UnimplementedSqlServiceServer struct {
}

UnimplementedSqlServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSqlServiceServer) Transaction

type UnsafeSqlServiceServer

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

UnsafeSqlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlServiceServer 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