Documentation ¶
Index ¶
- Variables
- type OperationRecord
- func (*OperationRecord) Descriptor() ([]byte, []int)deprecated
- func (x *OperationRecord) GetAgent() string
- func (x *OperationRecord) GetDateTime() string
- func (x *OperationRecord) GetIp() string
- func (x *OperationRecord) GetLatency() string
- func (x *OperationRecord) GetMethod() string
- func (x *OperationRecord) GetPath() string
- func (x *OperationRecord) GetReqBody() string
- func (x *OperationRecord) GetRespBody() string
- func (x *OperationRecord) GetStatus() int32
- func (x *OperationRecord) GetTraceID() string
- func (x *OperationRecord) GetUid() string
- func (*OperationRecord) ProtoMessage()
- func (x *OperationRecord) ProtoReflect() protoreflect.Message
- func (x *OperationRecord) Reset()
- func (x *OperationRecord) String() string
- func (m *OperationRecord) Validate() error
- func (m *OperationRecord) ValidateAll() error
- type OperationRecordMultiError
- type OperationRecordValidationError
- func (e OperationRecordValidationError) Cause() error
- func (e OperationRecordValidationError) Error() string
- func (e OperationRecordValidationError) ErrorName() string
- func (e OperationRecordValidationError) Field() string
- func (e OperationRecordValidationError) Key() bool
- func (e OperationRecordValidationError) Reason() string
- type PageRequest
- type PageResponse
- type Warn
Constants ¶
This section is empty.
Variables ¶
var File_any_v1_any_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OperationRecord ¶
type OperationRecord struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Method string `protobuf:"bytes,3,opt,name=Method,proto3" json:"Method,omitempty"` Path string `protobuf:"bytes,4,opt,name=Path,proto3" json:"Path,omitempty"` Agent string `protobuf:"bytes,5,opt,name=Agent,proto3" json:"Agent,omitempty"` Status int32 `protobuf:"varint,6,opt,name=Status,proto3" json:"Status,omitempty"` Latency string `protobuf:"bytes,7,opt,name=Latency,proto3" json:"Latency,omitempty"` ReqBody string `protobuf:"bytes,8,opt,name=ReqBody,proto3" json:"ReqBody,omitempty"` RespBody string `protobuf:"bytes,9,opt,name=RespBody,proto3" json:"RespBody,omitempty"` DateTime string `protobuf:"bytes,10,opt,name=DateTime,proto3" json:"DateTime,omitempty"` TraceID string `protobuf:"bytes,11,opt,name=TraceID,proto3" json:"TraceID,omitempty"` // contains filtered or unexported fields }
func (*OperationRecord) Descriptor
deprecated
func (*OperationRecord) Descriptor() ([]byte, []int)
Deprecated: Use OperationRecord.ProtoReflect.Descriptor instead.
func (*OperationRecord) GetAgent ¶
func (x *OperationRecord) GetAgent() string
func (*OperationRecord) GetDateTime ¶
func (x *OperationRecord) GetDateTime() string
func (*OperationRecord) GetIp ¶
func (x *OperationRecord) GetIp() string
func (*OperationRecord) GetLatency ¶
func (x *OperationRecord) GetLatency() string
func (*OperationRecord) GetMethod ¶
func (x *OperationRecord) GetMethod() string
func (*OperationRecord) GetPath ¶
func (x *OperationRecord) GetPath() string
func (*OperationRecord) GetReqBody ¶
func (x *OperationRecord) GetReqBody() string
func (*OperationRecord) GetRespBody ¶
func (x *OperationRecord) GetRespBody() string
func (*OperationRecord) GetStatus ¶
func (x *OperationRecord) GetStatus() int32
func (*OperationRecord) GetTraceID ¶
func (x *OperationRecord) GetTraceID() string
func (*OperationRecord) GetUid ¶
func (x *OperationRecord) GetUid() string
func (*OperationRecord) ProtoMessage ¶
func (*OperationRecord) ProtoMessage()
func (*OperationRecord) ProtoReflect ¶
func (x *OperationRecord) ProtoReflect() protoreflect.Message
func (*OperationRecord) Reset ¶
func (x *OperationRecord) Reset()
func (*OperationRecord) String ¶
func (x *OperationRecord) String() string
func (*OperationRecord) Validate ¶
func (m *OperationRecord) Validate() error
Validate checks the field values on OperationRecord with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*OperationRecord) ValidateAll ¶
func (m *OperationRecord) ValidateAll() error
ValidateAll checks the field values on OperationRecord with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OperationRecordMultiError, or nil if none found.
type OperationRecordMultiError ¶
type OperationRecordMultiError []error
OperationRecordMultiError is an error wrapping multiple validation errors returned by OperationRecord.ValidateAll() if the designated constraints aren't met.
func (OperationRecordMultiError) AllErrors ¶
func (m OperationRecordMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OperationRecordMultiError) Error ¶
func (m OperationRecordMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OperationRecordValidationError ¶
type OperationRecordValidationError struct {
// contains filtered or unexported fields
}
OperationRecordValidationError is the validation error returned by OperationRecord.Validate if the designated constraints aren't met.
func (OperationRecordValidationError) Cause ¶
func (e OperationRecordValidationError) Cause() error
Cause function returns cause value.
func (OperationRecordValidationError) Error ¶
func (e OperationRecordValidationError) Error() string
Error satisfies the builtin error interface
func (OperationRecordValidationError) ErrorName ¶
func (e OperationRecordValidationError) ErrorName() string
ErrorName returns error name.
func (OperationRecordValidationError) Field ¶
func (e OperationRecordValidationError) Field() string
Field function returns field value.
func (OperationRecordValidationError) Key ¶
func (e OperationRecordValidationError) Key() bool
Key function returns key value.
func (OperationRecordValidationError) Reason ¶
func (e OperationRecordValidationError) Reason() string
Reason function returns reason value.