Versions in this module Expand all Collapse all v0 v0.0.9 Apr 11, 2023 Changes in this version + const AppName + const RPC_AuditOperate_FullMethodName + var File_apps_audit_pb_audit_proto protoreflect.FileDescriptor + var RPC_ServiceDesc = grpc.ServiceDesc + func RegisterRPCServer(s grpc.ServiceRegistrar, srv RPCServer) + type AuditOperateLogResponse struct + func (*AuditOperateLogResponse) Descriptor() ([]byte, []int) + func (*AuditOperateLogResponse) ProtoMessage() + func (x *AuditOperateLogResponse) ProtoReflect() protoreflect.Message + func (x *AuditOperateLogResponse) Reset() + func (x *AuditOperateLogResponse) String() string + type OperateLog struct + Action string + Cost int64 + Meta map[string]string + RemoteIp string + Request string + Resource string + Response string + Service string + StatusCode int64 + Url string + UserAgent string + Username string + When int64 + func NewOperateLog(who, resource, action string) *OperateLog + func (*OperateLog) Descriptor() ([]byte, []int) + func (*OperateLog) ProtoMessage() + func (x *OperateLog) GetAction() string + func (x *OperateLog) GetCost() int64 + func (x *OperateLog) GetMeta() map[string]string + func (x *OperateLog) GetRemoteIp() string + func (x *OperateLog) GetRequest() string + func (x *OperateLog) GetResource() string + func (x *OperateLog) GetResponse() string + func (x *OperateLog) GetService() string + func (x *OperateLog) GetStatusCode() int64 + func (x *OperateLog) GetUrl() string + func (x *OperateLog) GetUserAgent() string + func (x *OperateLog) GetUsername() string + func (x *OperateLog) GetWhen() int64 + func (x *OperateLog) ProtoReflect() protoreflect.Message + func (x *OperateLog) Reset() + func (x *OperateLog) String() string + type RPCClient interface + AuditOperate func(ctx context.Context, in *OperateLog, opts ...grpc.CallOption) (*AuditOperateLogResponse, error) + func NewRPCClient(cc grpc.ClientConnInterface) RPCClient + type RPCServer interface + AuditOperate func(context.Context, *OperateLog) (*AuditOperateLogResponse, error) + type Service interface + type UnimplementedRPCServer struct + func (UnimplementedRPCServer) AuditOperate(context.Context, *OperateLog) (*AuditOperateLogResponse, error) + type UnsafeRPCServer interface