Documentation ¶
Index ¶
- Variables
- func RegisterEsManagerServiceServer(s grpc.ServiceRegistrar, srv EsManagerServiceServer)
- type CreateESConnRequest
- func (*CreateESConnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateESConnRequest) GetDescribe() string
- func (x *CreateESConnRequest) GetESConn() string
- func (x *CreateESConnRequest) GetPassWord() string
- func (x *CreateESConnRequest) GetUser() string
- func (x *CreateESConnRequest) GetVersion() int64
- func (*CreateESConnRequest) ProtoMessage()
- func (x *CreateESConnRequest) ProtoReflect() protoreflect.Message
- func (x *CreateESConnRequest) Reset()
- func (x *CreateESConnRequest) String() string
- type ESConn
- func (*ESConn) Descriptor() ([]byte, []int)deprecated
- func (x *ESConn) GetDescribe() string
- func (x *ESConn) GetESConn() string
- func (x *ESConn) GetID() uint64
- func (x *ESConn) GetPassWord() string
- func (x *ESConn) GetUser() string
- func (x *ESConn) GetVersion() int64
- func (*ESConn) ProtoMessage()
- func (x *ESConn) ProtoReflect() protoreflect.Message
- func (x *ESConn) Reset()
- func (x *ESConn) String() string
- type ESConnID
- type ESConnPagingRequest
- func (*ESConnPagingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ESConnPagingRequest) GetPage() int64
- func (x *ESConnPagingRequest) GetPageSize() int64
- func (*ESConnPagingRequest) ProtoMessage()
- func (x *ESConnPagingRequest) ProtoReflect() protoreflect.Message
- func (x *ESConnPagingRequest) Reset()
- func (x *ESConnPagingRequest) String() string
- type ESConnResponse
- type Empty
- type EsManagerServiceClient
- type EsManagerServiceServer
- type PingRequest
- type PingResponse
- type Total
- type UnimplementedEsManagerServiceServer
- func (UnimplementedEsManagerServiceServer) CreateESConn(context.Context, *CreateESConnRequest) (*Empty, error)
- func (UnimplementedEsManagerServiceServer) DeleteESConn(context.Context, *ESConnID) (*Empty, error)
- func (UnimplementedEsManagerServiceServer) ESConnAll(context.Context, *Empty) (*ESConnResponse, error)
- func (UnimplementedEsManagerServiceServer) ESConnDetail(context.Context, *ESConnID) (*ESConn, error)
- func (UnimplementedEsManagerServiceServer) ESConnPaging(context.Context, *ESConnPagingRequest) (*ESConnResponse, error)
- func (UnimplementedEsManagerServiceServer) ESConnTotal(context.Context, *Empty) (*Total, error)
- func (UnimplementedEsManagerServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedEsManagerServiceServer) UpdateESConn(context.Context, *UpdateESConnRequest) (*Empty, error)
- type UnsafeEsManagerServiceServer
- type UpdateESConnRequest
- func (*UpdateESConnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateESConnRequest) GetDescribe() string
- func (x *UpdateESConnRequest) GetESConn() string
- func (x *UpdateESConnRequest) GetID() uint64
- func (x *UpdateESConnRequest) GetPassWord() string
- func (x *UpdateESConnRequest) GetUser() string
- func (x *UpdateESConnRequest) GetVersion() int64
- func (*UpdateESConnRequest) ProtoMessage()
- func (x *UpdateESConnRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateESConnRequest) Reset()
- func (x *UpdateESConnRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var EsManagerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "espb.EsManagerService", HandlerType: (*EsManagerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ESConnPaging", Handler: _EsManagerService_ESConnPaging_Handler, }, { MethodName: "ESConnTotal", Handler: _EsManagerService_ESConnTotal_Handler, }, { MethodName: "Ping", Handler: _EsManagerService_Ping_Handler, }, { MethodName: "ESConnDetail", Handler: _EsManagerService_ESConnDetail_Handler, }, { MethodName: "ESConnAll", Handler: _EsManagerService_ESConnAll_Handler, }, { MethodName: "CreateESConn", Handler: _EsManagerService_CreateESConn_Handler, }, { MethodName: "UpdateESConn", Handler: _EsManagerService_UpdateESConn_Handler, }, { MethodName: "DeleteESConn", Handler: _EsManagerService_DeleteESConn_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "doc/esManager.proto", }
EsManagerService_ServiceDesc is the grpc.ServiceDesc for EsManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_doc_esManager_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEsManagerServiceServer ¶
func RegisterEsManagerServiceServer(s grpc.ServiceRegistrar, srv EsManagerServiceServer)
Types ¶
type CreateESConnRequest ¶
type CreateESConnRequest struct { ESConn string `protobuf:"bytes,1,opt,name=ESConn,proto3" json:"ESConn,omitempty"` Version int64 `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"` User string `protobuf:"bytes,3,opt,name=User,proto3" json:"User,omitempty"` PassWord string `protobuf:"bytes,4,opt,name=PassWord,proto3" json:"PassWord,omitempty"` Describe string `protobuf:"bytes,5,opt,name=Describe,proto3" json:"Describe,omitempty"` // contains filtered or unexported fields }
func (*CreateESConnRequest) Descriptor
deprecated
func (*CreateESConnRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateESConnRequest.ProtoReflect.Descriptor instead.
func (*CreateESConnRequest) GetDescribe ¶
func (x *CreateESConnRequest) GetDescribe() string
func (*CreateESConnRequest) GetESConn ¶
func (x *CreateESConnRequest) GetESConn() string
func (*CreateESConnRequest) GetPassWord ¶
func (x *CreateESConnRequest) GetPassWord() string
func (*CreateESConnRequest) GetUser ¶
func (x *CreateESConnRequest) GetUser() string
func (*CreateESConnRequest) GetVersion ¶
func (x *CreateESConnRequest) GetVersion() int64
func (*CreateESConnRequest) ProtoMessage ¶
func (*CreateESConnRequest) ProtoMessage()
func (*CreateESConnRequest) ProtoReflect ¶
func (x *CreateESConnRequest) ProtoReflect() protoreflect.Message
func (*CreateESConnRequest) Reset ¶
func (x *CreateESConnRequest) Reset()
func (*CreateESConnRequest) String ¶
func (x *CreateESConnRequest) String() string
type ESConn ¶
type ESConn struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` ESConn string `protobuf:"bytes,2,opt,name=ESConn,proto3" json:"ESConn,omitempty"` Version int64 `protobuf:"varint,3,opt,name=Version,proto3" json:"Version,omitempty"` User string `protobuf:"bytes,4,opt,name=User,proto3" json:"User,omitempty"` PassWord string `protobuf:"bytes,5,opt,name=PassWord,proto3" json:"PassWord,omitempty"` Describe string `protobuf:"bytes,6,opt,name=Describe,proto3" json:"Describe,omitempty"` // contains filtered or unexported fields }
func (*ESConn) Descriptor
deprecated
func (*ESConn) GetDescribe ¶
func (*ESConn) GetPassWord ¶
func (*ESConn) GetVersion ¶
func (*ESConn) ProtoMessage ¶
func (*ESConn) ProtoMessage()
func (*ESConn) ProtoReflect ¶
func (x *ESConn) ProtoReflect() protoreflect.Message
type ESConnID ¶
type ESConnID struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*ESConnID) Descriptor
deprecated
func (*ESConnID) ProtoMessage ¶
func (*ESConnID) ProtoMessage()
func (*ESConnID) ProtoReflect ¶
func (x *ESConnID) ProtoReflect() protoreflect.Message
type ESConnPagingRequest ¶
type ESConnPagingRequest struct { Page int64 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // contains filtered or unexported fields }
func (*ESConnPagingRequest) Descriptor
deprecated
func (*ESConnPagingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ESConnPagingRequest.ProtoReflect.Descriptor instead.
func (*ESConnPagingRequest) GetPage ¶
func (x *ESConnPagingRequest) GetPage() int64
func (*ESConnPagingRequest) GetPageSize ¶
func (x *ESConnPagingRequest) GetPageSize() int64
func (*ESConnPagingRequest) ProtoMessage ¶
func (*ESConnPagingRequest) ProtoMessage()
func (*ESConnPagingRequest) ProtoReflect ¶
func (x *ESConnPagingRequest) ProtoReflect() protoreflect.Message
func (*ESConnPagingRequest) Reset ¶
func (x *ESConnPagingRequest) Reset()
func (*ESConnPagingRequest) String ¶
func (x *ESConnPagingRequest) String() string
type ESConnResponse ¶
type ESConnResponse struct { ESConns []*ESConn `protobuf:"bytes,1,rep,name=ESConns,proto3" json:"ESConns,omitempty"` // contains filtered or unexported fields }
func (*ESConnResponse) Descriptor
deprecated
func (*ESConnResponse) Descriptor() ([]byte, []int)
Deprecated: Use ESConnResponse.ProtoReflect.Descriptor instead.
func (*ESConnResponse) GetESConns ¶
func (x *ESConnResponse) GetESConns() []*ESConn
func (*ESConnResponse) ProtoMessage ¶
func (*ESConnResponse) ProtoMessage()
func (*ESConnResponse) ProtoReflect ¶
func (x *ESConnResponse) ProtoReflect() protoreflect.Message
func (*ESConnResponse) Reset ¶
func (x *ESConnResponse) Reset()
func (*ESConnResponse) String ¶
func (x *ESConnResponse) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EsManagerServiceClient ¶
type EsManagerServiceClient interface { ESConnPaging(ctx context.Context, in *ESConnPagingRequest, opts ...grpc.CallOption) (*ESConnResponse, error) ESConnTotal(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Total, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) ESConnDetail(ctx context.Context, in *ESConnID, opts ...grpc.CallOption) (*ESConn, error) ESConnAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ESConnResponse, error) CreateESConn(ctx context.Context, in *CreateESConnRequest, opts ...grpc.CallOption) (*Empty, error) UpdateESConn(ctx context.Context, in *UpdateESConnRequest, opts ...grpc.CallOption) (*Empty, error) DeleteESConn(ctx context.Context, in *ESConnID, opts ...grpc.CallOption) (*Empty, error) }
EsManagerServiceClient is the client API for EsManagerService 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 NewEsManagerServiceClient ¶
func NewEsManagerServiceClient(cc grpc.ClientConnInterface) EsManagerServiceClient
type EsManagerServiceServer ¶
type EsManagerServiceServer interface { ESConnPaging(context.Context, *ESConnPagingRequest) (*ESConnResponse, error) ESConnTotal(context.Context, *Empty) (*Total, error) Ping(context.Context, *PingRequest) (*PingResponse, error) ESConnDetail(context.Context, *ESConnID) (*ESConn, error) ESConnAll(context.Context, *Empty) (*ESConnResponse, error) CreateESConn(context.Context, *CreateESConnRequest) (*Empty, error) UpdateESConn(context.Context, *UpdateESConnRequest) (*Empty, error) DeleteESConn(context.Context, *ESConnID) (*Empty, error) // contains filtered or unexported methods }
EsManagerServiceServer is the server API for EsManagerService service. All implementations must embed UnimplementedEsManagerServiceServer for forward compatibility
type PingRequest ¶
type PingRequest struct { EsConnID uint64 `protobuf:"varint,1,opt,name=EsConnID,proto3" json:"EsConnID,omitempty"` // contains filtered or unexported fields }
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) GetEsConnID ¶
func (x *PingRequest) GetEsConnID() uint64
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct { Data *anypb.Any `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetData ¶
func (x *PingResponse) GetData() *anypb.Any
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type Total ¶
type Total struct { Total int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // contains filtered or unexported fields }
func (*Total) Descriptor
deprecated
func (*Total) ProtoMessage ¶
func (*Total) ProtoMessage()
func (*Total) ProtoReflect ¶
func (x *Total) ProtoReflect() protoreflect.Message
type UnimplementedEsManagerServiceServer ¶
type UnimplementedEsManagerServiceServer struct { }
UnimplementedEsManagerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedEsManagerServiceServer) CreateESConn ¶
func (UnimplementedEsManagerServiceServer) CreateESConn(context.Context, *CreateESConnRequest) (*Empty, error)
func (UnimplementedEsManagerServiceServer) DeleteESConn ¶
func (UnimplementedEsManagerServiceServer) ESConnAll ¶
func (UnimplementedEsManagerServiceServer) ESConnAll(context.Context, *Empty) (*ESConnResponse, error)
func (UnimplementedEsManagerServiceServer) ESConnDetail ¶
func (UnimplementedEsManagerServiceServer) ESConnPaging ¶
func (UnimplementedEsManagerServiceServer) ESConnPaging(context.Context, *ESConnPagingRequest) (*ESConnResponse, error)
func (UnimplementedEsManagerServiceServer) ESConnTotal ¶
func (UnimplementedEsManagerServiceServer) Ping ¶
func (UnimplementedEsManagerServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedEsManagerServiceServer) UpdateESConn ¶
func (UnimplementedEsManagerServiceServer) UpdateESConn(context.Context, *UpdateESConnRequest) (*Empty, error)
type UnsafeEsManagerServiceServer ¶
type UnsafeEsManagerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEsManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EsManagerServiceServer will result in compilation errors.
type UpdateESConnRequest ¶
type UpdateESConnRequest struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` ESConn string `protobuf:"bytes,2,opt,name=ESConn,proto3" json:"ESConn,omitempty"` Version int64 `protobuf:"varint,3,opt,name=Version,proto3" json:"Version,omitempty"` User string `protobuf:"bytes,4,opt,name=User,proto3" json:"User,omitempty"` PassWord string `protobuf:"bytes,5,opt,name=PassWord,proto3" json:"PassWord,omitempty"` Describe string `protobuf:"bytes,6,opt,name=Describe,proto3" json:"Describe,omitempty"` // contains filtered or unexported fields }
func (*UpdateESConnRequest) Descriptor
deprecated
func (*UpdateESConnRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateESConnRequest.ProtoReflect.Descriptor instead.
func (*UpdateESConnRequest) GetDescribe ¶
func (x *UpdateESConnRequest) GetDescribe() string
func (*UpdateESConnRequest) GetESConn ¶
func (x *UpdateESConnRequest) GetESConn() string
func (*UpdateESConnRequest) GetID ¶
func (x *UpdateESConnRequest) GetID() uint64
func (*UpdateESConnRequest) GetPassWord ¶
func (x *UpdateESConnRequest) GetPassWord() string
func (*UpdateESConnRequest) GetUser ¶
func (x *UpdateESConnRequest) GetUser() string
func (*UpdateESConnRequest) GetVersion ¶
func (x *UpdateESConnRequest) GetVersion() int64
func (*UpdateESConnRequest) ProtoMessage ¶
func (*UpdateESConnRequest) ProtoMessage()
func (*UpdateESConnRequest) ProtoReflect ¶
func (x *UpdateESConnRequest) ProtoReflect() protoreflect.Message
func (*UpdateESConnRequest) Reset ¶
func (x *UpdateESConnRequest) Reset()
func (*UpdateESConnRequest) String ¶
func (x *UpdateESConnRequest) String() string