Documentation ¶
Index ¶
- type SyslogRpcServer
- func (s *SyslogRpcServer) AddOperationLog(ctx context.Context, in *syslogrpc.OperationLogNewReq) (*syslogrpc.OperationLogDetails, error)
- func (s *SyslogRpcServer) DeleteOperationLog(ctx context.Context, in *syslogrpc.IdsReq) (*syslogrpc.BatchResp, error)
- func (s *SyslogRpcServer) FindOperationLogList(ctx context.Context, in *syslogrpc.FindOperationLogListReq) (*syslogrpc.FindOperationLogListResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyslogRpcServer ¶
type SyslogRpcServer struct { syslogrpc.UnimplementedSyslogRpcServer // contains filtered or unexported fields }
func NewSyslogRpcServer ¶
func NewSyslogRpcServer(svcCtx *svc.ServiceContext) *SyslogRpcServer
func (*SyslogRpcServer) AddOperationLog ¶
func (s *SyslogRpcServer) AddOperationLog(ctx context.Context, in *syslogrpc.OperationLogNewReq) (*syslogrpc.OperationLogDetails, error)
创建操作记录
func (*SyslogRpcServer) DeleteOperationLog ¶
func (s *SyslogRpcServer) DeleteOperationLog(ctx context.Context, in *syslogrpc.IdsReq) (*syslogrpc.BatchResp, error)
批量删除操作记录
func (*SyslogRpcServer) FindOperationLogList ¶
func (s *SyslogRpcServer) FindOperationLogList(ctx context.Context, in *syslogrpc.FindOperationLogListReq) (*syslogrpc.FindOperationLogListResp, error)
查询操作记录列表
Click to show internal directories.
Click to hide internal directories.