Documentation
¶
Index ¶
- Variables
- func RegisterQdslServiceServer(s grpc.ServiceRegistrar, srv QdslServiceServer)
- type Element
- func (*Element) Descriptor() ([]byte, []int)deprecated
- func (x *Element) GetId() string
- func (x *Element) GetKey() string
- func (x *Element) GetLink() []byte
- func (x *Element) GetLinkId() string
- func (x *Element) GetName() string
- func (x *Element) GetObject() []byte
- func (x *Element) GetPath() []byte
- func (x *Element) GetType() string
- func (*Element) ProtoMessage()
- func (x *Element) ProtoReflect() protoreflect.Message
- func (x *Element) Reset()
- func (x *Element) String() string
- type Elements
- type Options
- func (*Options) Descriptor() ([]byte, []int)deprecated
- func (x *Options) GetId() bool
- func (x *Options) GetKey() bool
- func (x *Options) GetLink() bool
- func (x *Options) GetLinkId() bool
- func (x *Options) GetName() bool
- func (x *Options) GetObject() bool
- func (x *Options) GetPath() bool
- func (x *Options) GetRemove() bool
- func (x *Options) GetType() bool
- func (*Options) ProtoMessage()
- func (x *Options) ProtoReflect() protoreflect.Message
- func (x *Options) Reset()
- func (x *Options) String() string
- type QdslServiceClient
- type QdslServiceServer
- type Query
- type UnimplementedQdslServiceServer
- type UnsafeQdslServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_pbcmdb_pbqdsl_pbqdsl_proto protoreflect.FileDescriptor
var File_pbcmdb_pbqdsl_service_proto protoreflect.FileDescriptor
var QdslService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "org.listware.sdk.pbcmdb.pbqdsl.QdslService", HandlerType: (*QdslServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Qdsl", Handler: _QdslService_Qdsl_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pbcmdb/pbqdsl/service.proto", }
QdslService_ServiceDesc is the grpc.ServiceDesc for QdslService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterQdslServiceServer ¶
func RegisterQdslServiceServer(s grpc.ServiceRegistrar, srv QdslServiceServer)
Types ¶
type Element ¶
type Element struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Object []byte `protobuf:"bytes,5,opt,name=object,proto3" json:"object,omitempty"` LinkId string `protobuf:"bytes,6,opt,name=linkId,proto3" json:"linkId,omitempty"` Link []byte `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"` Path []byte `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*Element) Descriptor
deprecated
func (*Element) ProtoMessage ¶
func (*Element) ProtoMessage()
func (*Element) ProtoReflect ¶
func (x *Element) ProtoReflect() protoreflect.Message
type Elements ¶
type Elements struct { Elements []*Element `protobuf:"bytes,1,rep,name=Elements,proto3" json:"Elements,omitempty"` // contains filtered or unexported fields }
func (*Elements) Descriptor
deprecated
func (*Elements) GetElements ¶
func (*Elements) ProtoMessage ¶
func (*Elements) ProtoMessage()
func (*Elements) ProtoReflect ¶
func (x *Elements) ProtoReflect() protoreflect.Message
type Options ¶
type Options struct { Id bool `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Key bool `protobuf:"varint,2,opt,name=key,proto3" json:"key,omitempty"` Name bool `protobuf:"varint,3,opt,name=name,proto3" json:"name,omitempty"` Type bool `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` Object bool `protobuf:"varint,5,opt,name=object,proto3" json:"object,omitempty"` Link bool `protobuf:"varint,6,opt,name=link,proto3" json:"link,omitempty"` LinkId bool `protobuf:"varint,7,opt,name=linkId,proto3" json:"linkId,omitempty"` Path bool `protobuf:"varint,8,opt,name=path,proto3" json:"path,omitempty"` Remove bool `protobuf:"varint,9,opt,name=remove,proto3" json:"remove,omitempty"` // contains filtered or unexported fields }
func (*Options) Descriptor
deprecated
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) ProtoReflect ¶
func (x *Options) ProtoReflect() protoreflect.Message
type QdslServiceClient ¶
type QdslServiceClient interface {
Qdsl(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Elements, error)
}
QdslServiceClient is the client API for QdslService 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 NewQdslServiceClient ¶
func NewQdslServiceClient(cc grpc.ClientConnInterface) QdslServiceClient
type QdslServiceServer ¶
type QdslServiceServer interface { Qdsl(context.Context, *Query) (*Elements, error) // contains filtered or unexported methods }
QdslServiceServer is the server API for QdslService service. All implementations must embed UnimplementedQdslServiceServer for forward compatibility
type Query ¶
type Query struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Options *Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetOptions ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type UnimplementedQdslServiceServer ¶
type UnimplementedQdslServiceServer struct { }
UnimplementedQdslServiceServer must be embedded to have forward compatible implementations.
type UnsafeQdslServiceServer ¶
type UnsafeQdslServiceServer interface {
// contains filtered or unexported methods
}
UnsafeQdslServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QdslServiceServer will result in compilation errors.