Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterEntityServiceServer(s grpc.ServiceRegistrar, srv EntityServiceServer)
- type AllEntities
- type AllEntityStatus
- func (*AllEntityStatus) Descriptor() ([]byte, []int)deprecated
- func (x *AllEntityStatus) GetStatus() []*EntityStatus
- func (x *AllEntityStatus) GetStreamKey() string
- func (*AllEntityStatus) ProtoMessage()
- func (x *AllEntityStatus) ProtoReflect() protoreflect.Message
- func (x *AllEntityStatus) Reset()
- func (x *AllEntityStatus) String() string
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetActive() bool
- func (x *Entity) GetCreatedAt() string
- func (x *Entity) GetDescription() string
- func (x *Entity) GetID() string
- func (x *Entity) GetName() string
- func (x *Entity) GetOptions() *structpb.Struct
- func (x *Entity) GetPublic() *EntityPublicOptions
- func (x *Entity) GetScheme() string
- func (x *Entity) GetUserID() string
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- type EntityID
- type EntityPublicOptions
- func (*EntityPublicOptions) Descriptor() ([]byte, []int)deprecated
- func (x *EntityPublicOptions) GetMultiplier() uint32
- func (x *EntityPublicOptions) GetThreshold() int32
- func (x *EntityPublicOptions) GetTriggerList() []string
- func (*EntityPublicOptions) ProtoMessage()
- func (x *EntityPublicOptions) ProtoReflect() protoreflect.Message
- func (x *EntityPublicOptions) Reset()
- func (x *EntityPublicOptions) String() string
- type EntitySeries
- func (*EntitySeries) Descriptor() ([]byte, []int)deprecated
- func (x *EntitySeries) GetID() string
- func (x *EntitySeries) GetSeries() *structpb.Struct
- func (*EntitySeries) ProtoMessage()
- func (x *EntitySeries) ProtoReflect() protoreflect.Message
- func (x *EntitySeries) Reset()
- func (x *EntitySeries) String() string
- type EntityServiceClient
- type EntityServiceServer
- type EntityService_GetStreamAllStatusClient
- type EntityService_GetStreamAllStatusServer
- type EntityStatus
- func (*EntityStatus) Descriptor() ([]byte, []int)deprecated
- func (x *EntityStatus) GetErrMessage() string
- func (x *EntityStatus) GetFields() *structpb.Struct
- func (x *EntityStatus) GetID() string
- func (x *EntityStatus) GetLive() bool
- func (x *EntityStatus) GetLivePercentage() float64
- func (x *EntityStatus) GetLiveSeries() []bool
- func (x *EntityStatus) GetResponseTime() int64
- func (x *EntityStatus) GetSentryTime() string
- func (x *EntityStatus) GetUpTime() string
- func (*EntityStatus) ProtoMessage()
- func (x *EntityStatus) ProtoReflect() protoreflect.Message
- func (x *EntityStatus) Reset()
- func (x *EntityStatus) String() string
- type OfflineLog
- func (*OfflineLog) Descriptor() ([]byte, []int)deprecated
- func (x *OfflineLog) GetDuration() string
- func (x *OfflineLog) GetOfflineTime() string
- func (x *OfflineLog) GetSentryLogs() []*SentryLog
- func (*OfflineLog) ProtoMessage()
- func (x *OfflineLog) ProtoReflect() protoreflect.Message
- func (x *OfflineLog) Reset()
- func (x *OfflineLog) String() string
- type OfflineLogPage
- func (*OfflineLogPage) Descriptor() ([]byte, []int)deprecated
- func (x *OfflineLogPage) GetLength() int32
- func (x *OfflineLogPage) GetOfflineLogs() []*OfflineLog
- func (*OfflineLogPage) ProtoMessage()
- func (x *OfflineLogPage) ProtoReflect() protoreflect.Message
- func (x *OfflineLogPage) Reset()
- func (x *OfflineLogPage) String() string
- type OfflineLogRequest
- func (*OfflineLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OfflineLogRequest) GetEntityID() string
- func (x *OfflineLogRequest) GetPagination() *public.Pagination
- func (*OfflineLogRequest) ProtoMessage()
- func (x *OfflineLogRequest) ProtoReflect() protoreflect.Message
- func (x *OfflineLogRequest) Reset()
- func (x *OfflineLogRequest) String() string
- type SentryLog
- func (*SentryLog) Descriptor() ([]byte, []int)deprecated
- func (x *SentryLog) GetErrorMessage() string
- func (x *SentryLog) GetSentryName() string
- func (x *SentryLog) GetSentryTime() string
- func (*SentryLog) ProtoMessage()
- func (x *SentryLog) ProtoReflect() protoreflect.Message
- func (x *SentryLog) Reset()
- func (x *SentryLog) String() string
- type StreamAckRequire
- type UnimplementedEntityServiceServer
- func (UnimplementedEntityServiceServer) DeleteEntity(context.Context, *EntityID) (*emptypb.Empty, error)
- func (UnimplementedEntityServiceServer) GetAllEntities(context.Context, *emptypb.Empty) (*AllEntities, error)
- func (UnimplementedEntityServiceServer) GetAllStatus(context.Context, *emptypb.Empty) (*AllEntityStatus, error)
- func (UnimplementedEntityServiceServer) GetEntity(context.Context, *EntityID) (*Entity, error)
- func (UnimplementedEntityServiceServer) GetOfflineLog(context.Context, *OfflineLogRequest) (*OfflineLogPage, error)
- func (UnimplementedEntityServiceServer) GetSeries(context.Context, *EntityID) (*EntitySeries, error)
- func (UnimplementedEntityServiceServer) GetStatus(context.Context, *EntityID) (*EntityStatus, error)
- func (UnimplementedEntityServiceServer) GetStreamAllStatus(*emptypb.Empty, EntityService_GetStreamAllStatusServer) error
- func (UnimplementedEntityServiceServer) NewEntity(context.Context, *Entity) (*EntityID, error)
- func (UnimplementedEntityServiceServer) StreamAck(context.Context, *StreamAckRequire) (*emptypb.Empty, error)
- func (UnimplementedEntityServiceServer) UpdateEntity(context.Context, *Entity) (*emptypb.Empty, error)
- type UnsafeEntityServiceServer
Constants ¶
const ( EntityService_DeleteEntity_FullMethodName = "/bellis.backend.mobile.entity.EntityService/DeleteEntity" EntityService_NewEntity_FullMethodName = "/bellis.backend.mobile.entity.EntityService/NewEntity" EntityService_UpdateEntity_FullMethodName = "/bellis.backend.mobile.entity.EntityService/UpdateEntity" EntityService_GetEntity_FullMethodName = "/bellis.backend.mobile.entity.EntityService/GetEntity" EntityService_GetAllEntities_FullMethodName = "/bellis.backend.mobile.entity.EntityService/GetAllEntities" EntityService_GetStatus_FullMethodName = "/bellis.backend.mobile.entity.EntityService/GetStatus" EntityService_GetAllStatus_FullMethodName = "/bellis.backend.mobile.entity.EntityService/GetAllStatus" EntityService_GetSeries_FullMethodName = "/bellis.backend.mobile.entity.EntityService/GetSeries" EntityService_GetOfflineLog_FullMethodName = "/bellis.backend.mobile.entity.EntityService/GetOfflineLog" EntityService_GetStreamAllStatus_FullMethodName = "/bellis.backend.mobile.entity.EntityService/GetStreamAllStatus" EntityService_StreamAck_FullMethodName = "/bellis.backend.mobile.entity.EntityService/StreamAck" )
Variables ¶
var EntityService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bellis.backend.mobile.entity.EntityService", HandlerType: (*EntityServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DeleteEntity", Handler: _EntityService_DeleteEntity_Handler, }, { MethodName: "NewEntity", Handler: _EntityService_NewEntity_Handler, }, { MethodName: "UpdateEntity", Handler: _EntityService_UpdateEntity_Handler, }, { MethodName: "GetEntity", Handler: _EntityService_GetEntity_Handler, }, { MethodName: "GetAllEntities", Handler: _EntityService_GetAllEntities_Handler, }, { MethodName: "GetStatus", Handler: _EntityService_GetStatus_Handler, }, { MethodName: "GetAllStatus", Handler: _EntityService_GetAllStatus_Handler, }, { MethodName: "GetSeries", Handler: _EntityService_GetSeries_Handler, }, { MethodName: "GetOfflineLog", Handler: _EntityService_GetOfflineLog_Handler, }, { MethodName: "StreamAck", Handler: _EntityService_StreamAck_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetStreamAllStatus", Handler: _EntityService_GetStreamAllStatus_Handler, ServerStreams: true, }, }, Metadata: "entity/entity.proto", }
EntityService_ServiceDesc is the grpc.ServiceDesc for EntityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_entity_entity_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEntityServiceServer ¶
func RegisterEntityServiceServer(s grpc.ServiceRegistrar, srv EntityServiceServer)
Types ¶
type AllEntities ¶
type AllEntities struct {
Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
// contains filtered or unexported fields
}
func (*AllEntities) Descriptor
deprecated
func (*AllEntities) Descriptor() ([]byte, []int)
Deprecated: Use AllEntities.ProtoReflect.Descriptor instead.
func (*AllEntities) GetEntities ¶
func (x *AllEntities) GetEntities() []*Entity
func (*AllEntities) ProtoMessage ¶
func (*AllEntities) ProtoMessage()
func (*AllEntities) ProtoReflect ¶
func (x *AllEntities) ProtoReflect() protoreflect.Message
func (*AllEntities) Reset ¶
func (x *AllEntities) Reset()
func (*AllEntities) String ¶
func (x *AllEntities) String() string
type AllEntityStatus ¶
type AllEntityStatus struct {
StreamKey string `protobuf:"bytes,1,opt,name=StreamKey,proto3" json:"StreamKey,omitempty"`
Status []*EntityStatus `protobuf:"bytes,2,rep,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*AllEntityStatus) Descriptor
deprecated
func (*AllEntityStatus) Descriptor() ([]byte, []int)
Deprecated: Use AllEntityStatus.ProtoReflect.Descriptor instead.
func (*AllEntityStatus) GetStatus ¶
func (x *AllEntityStatus) GetStatus() []*EntityStatus
func (*AllEntityStatus) GetStreamKey ¶
func (x *AllEntityStatus) GetStreamKey() string
func (*AllEntityStatus) ProtoMessage ¶
func (*AllEntityStatus) ProtoMessage()
func (*AllEntityStatus) ProtoReflect ¶
func (x *AllEntityStatus) ProtoReflect() protoreflect.Message
func (*AllEntityStatus) Reset ¶
func (x *AllEntityStatus) Reset()
func (*AllEntityStatus) String ¶
func (x *AllEntityStatus) String() string
type Entity ¶
type Entity struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
UserID string `protobuf:"bytes,4,opt,name=userID,proto3" json:"userID,omitempty"`
CreatedAt string `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
Scheme string `protobuf:"bytes,6,opt,name=scheme,proto3" json:"scheme,omitempty"`
Active bool `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"`
Public *EntityPublicOptions `protobuf:"bytes,8,opt,name=public,proto3" json:"public,omitempty"`
Options *structpb.Struct `protobuf:"bytes,9,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*Entity) Descriptor
deprecated
func (*Entity) GetCreatedAt ¶
func (*Entity) GetDescription ¶
func (*Entity) GetOptions ¶
func (*Entity) GetPublic ¶
func (x *Entity) GetPublic() *EntityPublicOptions
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
type EntityID ¶
type EntityID struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Scheme *string `protobuf:"bytes,2,opt,name=scheme,proto3,oneof" json:"scheme,omitempty"`
// contains filtered or unexported fields
}
func (*EntityID) Descriptor
deprecated
func (*EntityID) ProtoMessage ¶
func (*EntityID) ProtoMessage()
func (*EntityID) ProtoReflect ¶
func (x *EntityID) ProtoReflect() protoreflect.Message
type EntityPublicOptions ¶
type EntityPublicOptions struct {
Threshold *int32 `protobuf:"varint,1,opt,name=threshold,proto3,oneof" json:"threshold,omitempty"`
TriggerList []string `protobuf:"bytes,2,rep,name=triggerList,proto3" json:"triggerList,omitempty"`
Multiplier *uint32 `protobuf:"varint,3,opt,name=multiplier,proto3,oneof" json:"multiplier,omitempty"`
// contains filtered or unexported fields
}
func (*EntityPublicOptions) Descriptor
deprecated
func (*EntityPublicOptions) Descriptor() ([]byte, []int)
Deprecated: Use EntityPublicOptions.ProtoReflect.Descriptor instead.
func (*EntityPublicOptions) GetMultiplier ¶
func (x *EntityPublicOptions) GetMultiplier() uint32
func (*EntityPublicOptions) GetThreshold ¶
func (x *EntityPublicOptions) GetThreshold() int32
func (*EntityPublicOptions) GetTriggerList ¶
func (x *EntityPublicOptions) GetTriggerList() []string
func (*EntityPublicOptions) ProtoMessage ¶
func (*EntityPublicOptions) ProtoMessage()
func (*EntityPublicOptions) ProtoReflect ¶
func (x *EntityPublicOptions) ProtoReflect() protoreflect.Message
func (*EntityPublicOptions) Reset ¶
func (x *EntityPublicOptions) Reset()
func (*EntityPublicOptions) String ¶
func (x *EntityPublicOptions) String() string
type EntitySeries ¶
type EntitySeries struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Series *structpb.Struct `protobuf:"bytes,2,opt,name=series,proto3" json:"series,omitempty"`
// contains filtered or unexported fields
}
func (*EntitySeries) Descriptor
deprecated
func (*EntitySeries) Descriptor() ([]byte, []int)
Deprecated: Use EntitySeries.ProtoReflect.Descriptor instead.
func (*EntitySeries) GetID ¶
func (x *EntitySeries) GetID() string
func (*EntitySeries) GetSeries ¶
func (x *EntitySeries) GetSeries() *structpb.Struct
func (*EntitySeries) ProtoMessage ¶
func (*EntitySeries) ProtoMessage()
func (*EntitySeries) ProtoReflect ¶
func (x *EntitySeries) ProtoReflect() protoreflect.Message
func (*EntitySeries) Reset ¶
func (x *EntitySeries) Reset()
func (*EntitySeries) String ¶
func (x *EntitySeries) String() string
type EntityServiceClient ¶
type EntityServiceClient interface {
DeleteEntity(ctx context.Context, in *EntityID, opts ...grpc.CallOption) (*emptypb.Empty, error)
NewEntity(ctx context.Context, in *Entity, opts ...grpc.CallOption) (*EntityID, error)
UpdateEntity(ctx context.Context, in *Entity, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetEntity(ctx context.Context, in *EntityID, opts ...grpc.CallOption) (*Entity, error)
GetAllEntities(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AllEntities, error)
GetStatus(ctx context.Context, in *EntityID, opts ...grpc.CallOption) (*EntityStatus, error)
GetAllStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AllEntityStatus, error)
GetSeries(ctx context.Context, in *EntityID, opts ...grpc.CallOption) (*EntitySeries, error)
GetOfflineLog(ctx context.Context, in *OfflineLogRequest, opts ...grpc.CallOption) (*OfflineLogPage, error)
GetStreamAllStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (EntityService_GetStreamAllStatusClient, error)
StreamAck(ctx context.Context, in *StreamAckRequire, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
EntityServiceClient is the client API for EntityService 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 NewEntityServiceClient ¶
func NewEntityServiceClient(cc grpc.ClientConnInterface) EntityServiceClient
type EntityServiceServer ¶
type EntityServiceServer interface {
DeleteEntity(context.Context, *EntityID) (*emptypb.Empty, error)
NewEntity(context.Context, *Entity) (*EntityID, error)
UpdateEntity(context.Context, *Entity) (*emptypb.Empty, error)
GetEntity(context.Context, *EntityID) (*Entity, error)
GetAllEntities(context.Context, *emptypb.Empty) (*AllEntities, error)
GetStatus(context.Context, *EntityID) (*EntityStatus, error)
GetAllStatus(context.Context, *emptypb.Empty) (*AllEntityStatus, error)
GetSeries(context.Context, *EntityID) (*EntitySeries, error)
GetOfflineLog(context.Context, *OfflineLogRequest) (*OfflineLogPage, error)
GetStreamAllStatus(*emptypb.Empty, EntityService_GetStreamAllStatusServer) error
StreamAck(context.Context, *StreamAckRequire) (*emptypb.Empty, error)
}
EntityServiceServer is the server API for EntityService service. All implementations should embed UnimplementedEntityServiceServer for forward compatibility
type EntityService_GetStreamAllStatusClient ¶
type EntityService_GetStreamAllStatusClient interface {
Recv() (*AllEntityStatus, error)
grpc.ClientStream
}
type EntityService_GetStreamAllStatusServer ¶
type EntityService_GetStreamAllStatusServer interface {
Send(*AllEntityStatus) error
grpc.ServerStream
}
type EntityStatus ¶
type EntityStatus struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Live bool `protobuf:"varint,2,opt,name=live,proto3" json:"live,omitempty"`
UpTime string `protobuf:"bytes,3,opt,name=up_time,json=upTime,proto3" json:"up_time,omitempty"`
SentryTime string `protobuf:"bytes,4,opt,name=sentry_time,json=sentryTime,proto3" json:"sentry_time,omitempty"`
ErrMessage string `protobuf:"bytes,5,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"`
Fields *structpb.Struct `protobuf:"bytes,6,opt,name=fields,proto3" json:"fields,omitempty"`
LiveSeries []bool `protobuf:"varint,7,rep,packed,name=live_series,json=liveSeries,proto3" json:"live_series,omitempty"`
ResponseTime int64 `protobuf:"varint,8,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"`
LivePercentage float64 `protobuf:"fixed64,9,opt,name=live_percentage,json=livePercentage,proto3" json:"live_percentage,omitempty"`
// contains filtered or unexported fields
}
func (*EntityStatus) Descriptor
deprecated
func (*EntityStatus) Descriptor() ([]byte, []int)
Deprecated: Use EntityStatus.ProtoReflect.Descriptor instead.
func (*EntityStatus) GetErrMessage ¶
func (x *EntityStatus) GetErrMessage() string
func (*EntityStatus) GetFields ¶
func (x *EntityStatus) GetFields() *structpb.Struct
func (*EntityStatus) GetID ¶
func (x *EntityStatus) GetID() string
func (*EntityStatus) GetLive ¶
func (x *EntityStatus) GetLive() bool
func (*EntityStatus) GetLivePercentage ¶
func (x *EntityStatus) GetLivePercentage() float64
func (*EntityStatus) GetLiveSeries ¶
func (x *EntityStatus) GetLiveSeries() []bool
func (*EntityStatus) GetResponseTime ¶
func (x *EntityStatus) GetResponseTime() int64
func (*EntityStatus) GetSentryTime ¶
func (x *EntityStatus) GetSentryTime() string
func (*EntityStatus) GetUpTime ¶
func (x *EntityStatus) GetUpTime() string
func (*EntityStatus) ProtoMessage ¶
func (*EntityStatus) ProtoMessage()
func (*EntityStatus) ProtoReflect ¶
func (x *EntityStatus) ProtoReflect() protoreflect.Message
func (*EntityStatus) Reset ¶
func (x *EntityStatus) Reset()
func (*EntityStatus) String ¶
func (x *EntityStatus) String() string
type OfflineLog ¶
type OfflineLog struct {
OfflineTime string `protobuf:"bytes,1,opt,name=offlineTime,proto3" json:"offlineTime,omitempty"`
Duration string `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
SentryLogs []*SentryLog `protobuf:"bytes,3,rep,name=sentryLogs,proto3" json:"sentryLogs,omitempty"`
// contains filtered or unexported fields
}
func (*OfflineLog) Descriptor
deprecated
func (*OfflineLog) Descriptor() ([]byte, []int)
Deprecated: Use OfflineLog.ProtoReflect.Descriptor instead.
func (*OfflineLog) GetDuration ¶
func (x *OfflineLog) GetDuration() string
func (*OfflineLog) GetOfflineTime ¶
func (x *OfflineLog) GetOfflineTime() string
func (*OfflineLog) GetSentryLogs ¶
func (x *OfflineLog) GetSentryLogs() []*SentryLog
func (*OfflineLog) ProtoMessage ¶
func (*OfflineLog) ProtoMessage()
func (*OfflineLog) ProtoReflect ¶
func (x *OfflineLog) ProtoReflect() protoreflect.Message
func (*OfflineLog) Reset ¶
func (x *OfflineLog) Reset()
func (*OfflineLog) String ¶
func (x *OfflineLog) String() string
type OfflineLogPage ¶
type OfflineLogPage struct {
Length int32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
OfflineLogs []*OfflineLog `protobuf:"bytes,2,rep,name=offlineLogs,proto3" json:"offlineLogs,omitempty"`
// contains filtered or unexported fields
}
func (*OfflineLogPage) Descriptor
deprecated
func (*OfflineLogPage) Descriptor() ([]byte, []int)
Deprecated: Use OfflineLogPage.ProtoReflect.Descriptor instead.
func (*OfflineLogPage) GetLength ¶
func (x *OfflineLogPage) GetLength() int32
func (*OfflineLogPage) GetOfflineLogs ¶
func (x *OfflineLogPage) GetOfflineLogs() []*OfflineLog
func (*OfflineLogPage) ProtoMessage ¶
func (*OfflineLogPage) ProtoMessage()
func (*OfflineLogPage) ProtoReflect ¶
func (x *OfflineLogPage) ProtoReflect() protoreflect.Message
func (*OfflineLogPage) Reset ¶
func (x *OfflineLogPage) Reset()
func (*OfflineLogPage) String ¶
func (x *OfflineLogPage) String() string
type OfflineLogRequest ¶
type OfflineLogRequest struct {
EntityID string `protobuf:"bytes,1,opt,name=entityID,proto3" json:"entityID,omitempty"`
Pagination *public.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*OfflineLogRequest) Descriptor
deprecated
func (*OfflineLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use OfflineLogRequest.ProtoReflect.Descriptor instead.
func (*OfflineLogRequest) GetEntityID ¶
func (x *OfflineLogRequest) GetEntityID() string
func (*OfflineLogRequest) GetPagination ¶
func (x *OfflineLogRequest) GetPagination() *public.Pagination
func (*OfflineLogRequest) ProtoMessage ¶
func (*OfflineLogRequest) ProtoMessage()
func (*OfflineLogRequest) ProtoReflect ¶
func (x *OfflineLogRequest) ProtoReflect() protoreflect.Message
func (*OfflineLogRequest) Reset ¶
func (x *OfflineLogRequest) Reset()
func (*OfflineLogRequest) String ¶
func (x *OfflineLogRequest) String() string
type SentryLog ¶
type SentryLog struct {
SentryName string `protobuf:"bytes,1,opt,name=sentryName,proto3" json:"sentryName,omitempty"`
SentryTime string `protobuf:"bytes,2,opt,name=sentryTime,proto3" json:"sentryTime,omitempty"`
ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
// contains filtered or unexported fields
}
func (*SentryLog) Descriptor
deprecated
func (*SentryLog) GetErrorMessage ¶
func (*SentryLog) GetSentryName ¶
func (*SentryLog) GetSentryTime ¶
func (*SentryLog) ProtoMessage ¶
func (*SentryLog) ProtoMessage()
func (*SentryLog) ProtoReflect ¶
func (x *SentryLog) ProtoReflect() protoreflect.Message
type StreamAckRequire ¶
type StreamAckRequire struct {
StreamKey string `protobuf:"bytes,1,opt,name=StreamKey,proto3" json:"StreamKey,omitempty"`
// contains filtered or unexported fields
}
func (*StreamAckRequire) Descriptor
deprecated
func (*StreamAckRequire) Descriptor() ([]byte, []int)
Deprecated: Use StreamAckRequire.ProtoReflect.Descriptor instead.
func (*StreamAckRequire) GetStreamKey ¶
func (x *StreamAckRequire) GetStreamKey() string
func (*StreamAckRequire) ProtoMessage ¶
func (*StreamAckRequire) ProtoMessage()
func (*StreamAckRequire) ProtoReflect ¶
func (x *StreamAckRequire) ProtoReflect() protoreflect.Message
func (*StreamAckRequire) Reset ¶
func (x *StreamAckRequire) Reset()
func (*StreamAckRequire) String ¶
func (x *StreamAckRequire) String() string
type UnimplementedEntityServiceServer ¶
type UnimplementedEntityServiceServer struct {
}
UnimplementedEntityServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEntityServiceServer) DeleteEntity ¶
func (UnimplementedEntityServiceServer) GetAllEntities ¶
func (UnimplementedEntityServiceServer) GetAllEntities(context.Context, *emptypb.Empty) (*AllEntities, error)
func (UnimplementedEntityServiceServer) GetAllStatus ¶
func (UnimplementedEntityServiceServer) GetAllStatus(context.Context, *emptypb.Empty) (*AllEntityStatus, error)
func (UnimplementedEntityServiceServer) GetOfflineLog ¶
func (UnimplementedEntityServiceServer) GetOfflineLog(context.Context, *OfflineLogRequest) (*OfflineLogPage, error)
func (UnimplementedEntityServiceServer) GetSeries ¶
func (UnimplementedEntityServiceServer) GetSeries(context.Context, *EntityID) (*EntitySeries, error)
func (UnimplementedEntityServiceServer) GetStatus ¶
func (UnimplementedEntityServiceServer) GetStatus(context.Context, *EntityID) (*EntityStatus, error)
func (UnimplementedEntityServiceServer) GetStreamAllStatus ¶
func (UnimplementedEntityServiceServer) GetStreamAllStatus(*emptypb.Empty, EntityService_GetStreamAllStatusServer) error
func (UnimplementedEntityServiceServer) StreamAck ¶
func (UnimplementedEntityServiceServer) StreamAck(context.Context, *StreamAckRequire) (*emptypb.Empty, error)
func (UnimplementedEntityServiceServer) UpdateEntity ¶
type UnsafeEntityServiceServer ¶
type UnsafeEntityServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEntityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EntityServiceServer will result in compilation errors.