Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type ListOperationLogRequest
- func (*ListOperationLogRequest) Descriptor() ([]byte, []int)
- func (m *ListOperationLogRequest) GetAppId() string
- func (m *ListOperationLogRequest) GetAppName() string
- func (m *ListOperationLogRequest) GetBusiness() string
- func (m *ListOperationLogRequest) GetCtimeOrder() string
- func (m *ListOperationLogRequest) GetDeviceId() string
- func (m *ListOperationLogRequest) GetEndTime() string
- func (m *ListOperationLogRequest) GetEt() string
- func (m *ListOperationLogRequest) GetEvent() string
- func (m *ListOperationLogRequest) GetEventId() string
- func (m *ListOperationLogRequest) GetExcludeEvent() string
- func (m *ListOperationLogRequest) GetExcludeSystem() string
- func (m *ListOperationLogRequest) GetIncludeNotifier() bool
- func (m *ListOperationLogRequest) GetInstanceId() string
- func (m *ListOperationLogRequest) GetObjectId() string
- func (m *ListOperationLogRequest) GetOperator() string
- func (m *ListOperationLogRequest) GetPage() int32
- func (m *ListOperationLogRequest) GetPageSize() int32
- func (m *ListOperationLogRequest) GetParentEventId() string
- func (m *ListOperationLogRequest) GetQuery() string
- func (m *ListOperationLogRequest) GetRange() string
- func (m *ListOperationLogRequest) GetSt() string
- func (m *ListOperationLogRequest) GetStartTime() string
- func (m *ListOperationLogRequest) GetStatus() string
- func (m *ListOperationLogRequest) GetSystem() string
- func (m *ListOperationLogRequest) GetTargetId() string
- func (m *ListOperationLogRequest) GetTopic() string
- func (m *ListOperationLogRequest) GetUser() string
- func (m *ListOperationLogRequest) GetWithChildren() bool
- func (m *ListOperationLogRequest) GetWithoutTotal() string
- func (*ListOperationLogRequest) ProtoMessage()
- func (m *ListOperationLogRequest) Reset()
- func (m *ListOperationLogRequest) String() string
- func (this *ListOperationLogRequest) Validate() error
- func (m *ListOperationLogRequest) XXX_DiscardUnknown()
- func (m *ListOperationLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOperationLogRequest) XXX_Merge(src proto.Message)
- func (m *ListOperationLogRequest) XXX_Size() int
- func (m *ListOperationLogRequest) XXX_Unmarshal(b []byte) error
- type ListOperationLogResponse
- func (*ListOperationLogResponse) Descriptor() ([]byte, []int)
- func (m *ListOperationLogResponse) GetList() []*notify.OperationLog
- func (m *ListOperationLogResponse) GetPage() int32
- func (m *ListOperationLogResponse) GetPageSize() int32
- func (m *ListOperationLogResponse) GetTotal() int32
- func (*ListOperationLogResponse) ProtoMessage()
- func (m *ListOperationLogResponse) Reset()
- func (m *ListOperationLogResponse) String() string
- func (this *ListOperationLogResponse) Validate() error
- func (m *ListOperationLogResponse) XXX_DiscardUnknown()
- func (m *ListOperationLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOperationLogResponse) XXX_Merge(src proto.Message)
- func (m *ListOperationLogResponse) XXX_Size() int
- func (m *ListOperationLogResponse) XXX_Unmarshal(b []byte) error
- type ListOperationLogResponseWrapper
- func (*ListOperationLogResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListOperationLogResponseWrapper) GetCode() int32
- func (m *ListOperationLogResponseWrapper) GetCodeExplain() string
- func (m *ListOperationLogResponseWrapper) GetData() *ListOperationLogResponse
- func (m *ListOperationLogResponseWrapper) GetError() string
- func (*ListOperationLogResponseWrapper) ProtoMessage()
- func (m *ListOperationLogResponseWrapper) Reset()
- func (m *ListOperationLogResponseWrapper) String() string
- func (this *ListOperationLogResponseWrapper) Validate() error
- func (m *ListOperationLogResponseWrapper) XXX_DiscardUnknown()
- func (m *ListOperationLogResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOperationLogResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListOperationLogResponseWrapper) XXX_Size() int
- func (m *ListOperationLogResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s giraffe_micro.Server, srv Service)
Types ¶
type Client ¶
type Client interface {
ListOperationLog(ctx context.Context, in *ListOperationLogRequest) (*ListOperationLogResponse, error)
}
Client is the client API for notify_ctrl service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClient ¶
func NewClient(c giraffe_micro.Client) Client
type ListOperationLogRequest ¶
type ListOperationLogRequest struct { // //模型Id ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"` // //实例Id InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id" form:"instance_id"` // //range Range string `protobuf:"bytes,3,opt,name=range,proto3" json:"range" form:"range"` // //st St string `protobuf:"bytes,4,opt,name=st,proto3" json:"st" form:"st"` // //et Et string `protobuf:"bytes,5,opt,name=et,proto3" json:"et" form:"et"` // //include_notifier IncludeNotifier bool `protobuf:"varint,6,opt,name=include_notifier,json=includeNotifier,proto3" json:"include_notifier" form:"include_notifier"` // //应用id AppId string `protobuf:"bytes,7,opt,name=app_id,json=appId,proto3" json:"app_id" form:"app_id"` // //目标名称 TargetId string `protobuf:"bytes,8,opt,name=target_id,json=targetId,proto3" json:"target_id" form:"target_id"` // //事件id EventId string `protobuf:"bytes,9,opt,name=event_id,json=eventId,proto3" json:"event_id" form:"event_id"` // //父事件id ParentEventId string `protobuf:"bytes,10,opt,name=parent_event_id,json=parentEventId,proto3" json:"parent_event_id" form:"parent_event_id"` // //事件名称 Event string `protobuf:"bytes,11,opt,name=event,proto3" json:"event" form:"event"` // //排除事件名称 ExcludeEvent string `protobuf:"bytes,12,opt,name=exclude_event,json=excludeEvent,proto3" json:"exclude_event" form:"exclude_event"` // //系统名称 System string `protobuf:"bytes,13,opt,name=system,proto3" json:"system" form:"system"` // //page Page int32 `protobuf:"varint,14,opt,name=page,proto3" json:"page" form:"page"` // //pageSize PageSize int32 `protobuf:"varint,15,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"` // //事件状态 Status string `protobuf:"bytes,16,opt,name=status,proto3" json:"status" form:"status"` // //关联的设备id DeviceId string `protobuf:"bytes,17,opt,name=device_id,json=deviceId,proto3" json:"device_id" form:"device_id"` // //操作人 Operator string `protobuf:"bytes,18,opt,name=operator,proto3" json:"operator" form:"operator"` // //通知相关人(包含operator和notifier) User string `protobuf:"bytes,19,opt,name=user,proto3" json:"user" form:"user"` // //是否查询子事件(true查询子事件,false不查询子时间,默认false) WithChildren bool `protobuf:"varint,20,opt,name=with_children,json=withChildren,proto3" json:"with_children" form:"with_children"` // //排除的系统名称 ExcludeSystem string `protobuf:"bytes,21,opt,name=exclude_system,json=excludeSystem,proto3" json:"exclude_system" form:"exclude_system"` // //是否不需要查询总数 WithoutTotal string `protobuf:"bytes,22,opt,name=without_total,json=withoutTotal,proto3" json:"without_total" form:"without_total"` // //ctime_order CtimeOrder string `protobuf:"bytes,23,opt,name=ctime_order,json=ctimeOrder,proto3" json:"ctime_order" form:"ctime_order"` // //query Query string `protobuf:"bytes,24,opt,name=query,proto3" json:"query" form:"query"` // //topic Topic string `protobuf:"bytes,25,opt,name=topic,proto3" json:"topic" form:"topic"` // //应用名称 AppName string `protobuf:"bytes,26,opt,name=app_name,json=appName,proto3" json:"app_name" form:"app_name"` // //business Business string `protobuf:"bytes,27,opt,name=business,proto3" json:"business" form:"business"` // //开始时间 StartTime string `protobuf:"bytes,28,opt,name=start_time,json=startTime,proto3" json:"start_time" form:"start_time"` // //截止时间 EndTime string `protobuf:"bytes,29,opt,name=end_time,json=endTime,proto3" json:"end_time" form:"end_time"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListOperationLog请求
func (*ListOperationLogRequest) Descriptor ¶
func (*ListOperationLogRequest) Descriptor() ([]byte, []int)
func (*ListOperationLogRequest) GetAppId ¶
func (m *ListOperationLogRequest) GetAppId() string
func (*ListOperationLogRequest) GetAppName ¶
func (m *ListOperationLogRequest) GetAppName() string
func (*ListOperationLogRequest) GetBusiness ¶
func (m *ListOperationLogRequest) GetBusiness() string
func (*ListOperationLogRequest) GetCtimeOrder ¶
func (m *ListOperationLogRequest) GetCtimeOrder() string
func (*ListOperationLogRequest) GetDeviceId ¶
func (m *ListOperationLogRequest) GetDeviceId() string
func (*ListOperationLogRequest) GetEndTime ¶
func (m *ListOperationLogRequest) GetEndTime() string
func (*ListOperationLogRequest) GetEt ¶
func (m *ListOperationLogRequest) GetEt() string
func (*ListOperationLogRequest) GetEvent ¶
func (m *ListOperationLogRequest) GetEvent() string
func (*ListOperationLogRequest) GetEventId ¶
func (m *ListOperationLogRequest) GetEventId() string
func (*ListOperationLogRequest) GetExcludeEvent ¶
func (m *ListOperationLogRequest) GetExcludeEvent() string
func (*ListOperationLogRequest) GetExcludeSystem ¶
func (m *ListOperationLogRequest) GetExcludeSystem() string
func (*ListOperationLogRequest) GetIncludeNotifier ¶
func (m *ListOperationLogRequest) GetIncludeNotifier() bool
func (*ListOperationLogRequest) GetInstanceId ¶
func (m *ListOperationLogRequest) GetInstanceId() string
func (*ListOperationLogRequest) GetObjectId ¶
func (m *ListOperationLogRequest) GetObjectId() string
func (*ListOperationLogRequest) GetOperator ¶
func (m *ListOperationLogRequest) GetOperator() string
func (*ListOperationLogRequest) GetPage ¶
func (m *ListOperationLogRequest) GetPage() int32
func (*ListOperationLogRequest) GetPageSize ¶
func (m *ListOperationLogRequest) GetPageSize() int32
func (*ListOperationLogRequest) GetParentEventId ¶
func (m *ListOperationLogRequest) GetParentEventId() string
func (*ListOperationLogRequest) GetQuery ¶
func (m *ListOperationLogRequest) GetQuery() string
func (*ListOperationLogRequest) GetRange ¶
func (m *ListOperationLogRequest) GetRange() string
func (*ListOperationLogRequest) GetSt ¶
func (m *ListOperationLogRequest) GetSt() string
func (*ListOperationLogRequest) GetStartTime ¶
func (m *ListOperationLogRequest) GetStartTime() string
func (*ListOperationLogRequest) GetStatus ¶
func (m *ListOperationLogRequest) GetStatus() string
func (*ListOperationLogRequest) GetSystem ¶
func (m *ListOperationLogRequest) GetSystem() string
func (*ListOperationLogRequest) GetTargetId ¶
func (m *ListOperationLogRequest) GetTargetId() string
func (*ListOperationLogRequest) GetTopic ¶
func (m *ListOperationLogRequest) GetTopic() string
func (*ListOperationLogRequest) GetUser ¶
func (m *ListOperationLogRequest) GetUser() string
func (*ListOperationLogRequest) GetWithChildren ¶
func (m *ListOperationLogRequest) GetWithChildren() bool
func (*ListOperationLogRequest) GetWithoutTotal ¶
func (m *ListOperationLogRequest) GetWithoutTotal() string
func (*ListOperationLogRequest) ProtoMessage ¶
func (*ListOperationLogRequest) ProtoMessage()
func (*ListOperationLogRequest) Reset ¶
func (m *ListOperationLogRequest) Reset()
func (*ListOperationLogRequest) String ¶
func (m *ListOperationLogRequest) String() string
func (*ListOperationLogRequest) Validate ¶
func (this *ListOperationLogRequest) Validate() error
func (*ListOperationLogRequest) XXX_DiscardUnknown ¶
func (m *ListOperationLogRequest) XXX_DiscardUnknown()
func (*ListOperationLogRequest) XXX_Marshal ¶
func (m *ListOperationLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOperationLogRequest) XXX_Merge ¶
func (m *ListOperationLogRequest) XXX_Merge(src proto.Message)
func (*ListOperationLogRequest) XXX_Size ¶
func (m *ListOperationLogRequest) XXX_Size() int
func (*ListOperationLogRequest) XXX_Unmarshal ¶
func (m *ListOperationLogRequest) XXX_Unmarshal(b []byte) error
type ListOperationLogResponse ¶
type ListOperationLogResponse struct { // //页码 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //数据列表 List []*notify.OperationLog `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListOperationLog返回
func (*ListOperationLogResponse) Descriptor ¶
func (*ListOperationLogResponse) Descriptor() ([]byte, []int)
func (*ListOperationLogResponse) GetList ¶
func (m *ListOperationLogResponse) GetList() []*notify.OperationLog
func (*ListOperationLogResponse) GetPage ¶
func (m *ListOperationLogResponse) GetPage() int32
func (*ListOperationLogResponse) GetPageSize ¶
func (m *ListOperationLogResponse) GetPageSize() int32
func (*ListOperationLogResponse) GetTotal ¶
func (m *ListOperationLogResponse) GetTotal() int32
func (*ListOperationLogResponse) ProtoMessage ¶
func (*ListOperationLogResponse) ProtoMessage()
func (*ListOperationLogResponse) Reset ¶
func (m *ListOperationLogResponse) Reset()
func (*ListOperationLogResponse) String ¶
func (m *ListOperationLogResponse) String() string
func (*ListOperationLogResponse) Validate ¶
func (this *ListOperationLogResponse) Validate() error
func (*ListOperationLogResponse) XXX_DiscardUnknown ¶
func (m *ListOperationLogResponse) XXX_DiscardUnknown()
func (*ListOperationLogResponse) XXX_Marshal ¶
func (m *ListOperationLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOperationLogResponse) XXX_Merge ¶
func (m *ListOperationLogResponse) XXX_Merge(src proto.Message)
func (*ListOperationLogResponse) XXX_Size ¶
func (m *ListOperationLogResponse) XXX_Size() int
func (*ListOperationLogResponse) XXX_Unmarshal ¶
func (m *ListOperationLogResponse) XXX_Unmarshal(b []byte) error
type ListOperationLogResponseWrapper ¶
type ListOperationLogResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListOperationLogResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListOperationLogApi返回
func (*ListOperationLogResponseWrapper) Descriptor ¶
func (*ListOperationLogResponseWrapper) Descriptor() ([]byte, []int)
func (*ListOperationLogResponseWrapper) GetCode ¶
func (m *ListOperationLogResponseWrapper) GetCode() int32
func (*ListOperationLogResponseWrapper) GetCodeExplain ¶
func (m *ListOperationLogResponseWrapper) GetCodeExplain() string
func (*ListOperationLogResponseWrapper) GetData ¶
func (m *ListOperationLogResponseWrapper) GetData() *ListOperationLogResponse
func (*ListOperationLogResponseWrapper) GetError ¶
func (m *ListOperationLogResponseWrapper) GetError() string
func (*ListOperationLogResponseWrapper) ProtoMessage ¶
func (*ListOperationLogResponseWrapper) ProtoMessage()
func (*ListOperationLogResponseWrapper) Reset ¶
func (m *ListOperationLogResponseWrapper) Reset()
func (*ListOperationLogResponseWrapper) String ¶
func (m *ListOperationLogResponseWrapper) String() string
func (*ListOperationLogResponseWrapper) Validate ¶
func (this *ListOperationLogResponseWrapper) Validate() error
func (*ListOperationLogResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListOperationLogResponseWrapper) XXX_DiscardUnknown()
func (*ListOperationLogResponseWrapper) XXX_Marshal ¶
func (m *ListOperationLogResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOperationLogResponseWrapper) XXX_Merge ¶
func (m *ListOperationLogResponseWrapper) XXX_Merge(src proto.Message)
func (*ListOperationLogResponseWrapper) XXX_Size ¶
func (m *ListOperationLogResponseWrapper) XXX_Size() int
func (*ListOperationLogResponseWrapper) XXX_Unmarshal ¶
func (m *ListOperationLogResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface {
ListOperationLog(context.Context, *ListOperationLogRequest) (*ListOperationLogResponse, error)
}
Service is the server API for notify_ctrl service.
Click to show internal directories.
Click to hide internal directories.