syslogrpc

package
v0.0.0-...-6d7266f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchResp

type BatchResp = syslogrpc.BatchResp

type CountResp

type CountResp = syslogrpc.CountResp

type EmptyReq

type EmptyReq = syslogrpc.EmptyReq

type EmptyResp

type EmptyResp = syslogrpc.EmptyResp

type FindOperationLogListReq

type FindOperationLogListReq = syslogrpc.FindOperationLogListReq

type FindOperationLogListResp

type FindOperationLogListResp = syslogrpc.FindOperationLogListResp

type IdReq

type IdReq = syslogrpc.IdReq

type IdsReq

type IdsReq = syslogrpc.IdsReq

type OperationLogDetails

type OperationLogDetails = syslogrpc.OperationLogDetails

type OperationLogNewReq

type OperationLogNewReq = syslogrpc.OperationLogNewReq

type SyslogRpc

type SyslogRpc interface {
	// 创建操作记录
	AddOperationLog(ctx context.Context, in *OperationLogNewReq, opts ...grpc.CallOption) (*OperationLogDetails, error)
	// 批量删除操作记录
	DeleteOperationLog(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error)
	// 查询操作记录列表
	FindOperationLogList(ctx context.Context, in *FindOperationLogListReq, opts ...grpc.CallOption) (*FindOperationLogListResp, error)
}

func NewSyslogRpc

func NewSyslogRpc(cli zrpc.Client) SyslogRpc

type UserIdReq

type UserIdReq = syslogrpc.UserIdReq

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL