Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterLogHTTPServer(s *http.Server, srv LogHTTPServer)
- func RegisterLogServer(s grpc.ServiceRegistrar, srv LogServer)
- type ListAuthLogReply
- func (*ListAuthLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthLogReply) GetList() []*ListAuthLogReply_Log
- func (x *ListAuthLogReply) GetTotal() uint32
- func (*ListAuthLogReply) ProtoMessage()
- func (x *ListAuthLogReply) ProtoReflect() protoreflect.Message
- func (x *ListAuthLogReply) Reset()
- func (x *ListAuthLogReply) String() string
- func (m *ListAuthLogReply) Validate() error
- func (m *ListAuthLogReply) ValidateAll() error
- type ListAuthLogReplyMultiError
- type ListAuthLogReplyValidationError
- func (e ListAuthLogReplyValidationError) Cause() error
- func (e ListAuthLogReplyValidationError) Error() string
- func (e ListAuthLogReplyValidationError) ErrorName() string
- func (e ListAuthLogReplyValidationError) Field() string
- func (e ListAuthLogReplyValidationError) Key() bool
- func (e ListAuthLogReplyValidationError) Reason() string
- type ListAuthLogReply_Log
- func (*ListAuthLogReply_Log) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthLogReply_Log) GetApp() *ListAuthLogReply_Log_App
- func (x *ListAuthLogReply_Log) GetCreatedAt() uint32
- func (x *ListAuthLogReply_Log) GetMenu() *ListAuthLogReply_Log_Menu
- func (x *ListAuthLogReply_Log) GetUser() *ListAuthLogReply_Log_User
- func (*ListAuthLogReply_Log) ProtoMessage()
- func (x *ListAuthLogReply_Log) ProtoReflect() protoreflect.Message
- func (x *ListAuthLogReply_Log) Reset()
- func (x *ListAuthLogReply_Log) String() string
- func (m *ListAuthLogReply_Log) Validate() error
- func (m *ListAuthLogReply_Log) ValidateAll() error
- type ListAuthLogReply_LogMultiError
- type ListAuthLogReply_LogValidationError
- func (e ListAuthLogReply_LogValidationError) Cause() error
- func (e ListAuthLogReply_LogValidationError) Error() string
- func (e ListAuthLogReply_LogValidationError) ErrorName() string
- func (e ListAuthLogReply_LogValidationError) Field() string
- func (e ListAuthLogReply_LogValidationError) Key() bool
- func (e ListAuthLogReply_LogValidationError) Reason() string
- type ListAuthLogReply_Log_App
- func (*ListAuthLogReply_Log_App) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthLogReply_Log_App) GetId() uint32
- func (x *ListAuthLogReply_Log_App) GetKeyword() string
- func (x *ListAuthLogReply_Log_App) GetLogo() string
- func (x *ListAuthLogReply_Log_App) GetName() string
- func (*ListAuthLogReply_Log_App) ProtoMessage()
- func (x *ListAuthLogReply_Log_App) ProtoReflect() protoreflect.Message
- func (x *ListAuthLogReply_Log_App) Reset()
- func (x *ListAuthLogReply_Log_App) String() string
- func (m *ListAuthLogReply_Log_App) Validate() error
- func (m *ListAuthLogReply_Log_App) ValidateAll() error
- type ListAuthLogReply_Log_AppMultiError
- type ListAuthLogReply_Log_AppValidationError
- func (e ListAuthLogReply_Log_AppValidationError) Cause() error
- func (e ListAuthLogReply_Log_AppValidationError) Error() string
- func (e ListAuthLogReply_Log_AppValidationError) ErrorName() string
- func (e ListAuthLogReply_Log_AppValidationError) Field() string
- func (e ListAuthLogReply_Log_AppValidationError) Key() bool
- func (e ListAuthLogReply_Log_AppValidationError) Reason() string
- type ListAuthLogReply_Log_Menu
- func (*ListAuthLogReply_Log_Menu) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthLogReply_Log_Menu) GetApi() string
- func (x *ListAuthLogReply_Log_Menu) GetMethod() string
- func (x *ListAuthLogReply_Log_Menu) GetTitle() string
- func (*ListAuthLogReply_Log_Menu) ProtoMessage()
- func (x *ListAuthLogReply_Log_Menu) ProtoReflect() protoreflect.Message
- func (x *ListAuthLogReply_Log_Menu) Reset()
- func (x *ListAuthLogReply_Log_Menu) String() string
- func (m *ListAuthLogReply_Log_Menu) Validate() error
- func (m *ListAuthLogReply_Log_Menu) ValidateAll() error
- type ListAuthLogReply_Log_MenuMultiError
- type ListAuthLogReply_Log_MenuValidationError
- func (e ListAuthLogReply_Log_MenuValidationError) Cause() error
- func (e ListAuthLogReply_Log_MenuValidationError) Error() string
- func (e ListAuthLogReply_Log_MenuValidationError) ErrorName() string
- func (e ListAuthLogReply_Log_MenuValidationError) Field() string
- func (e ListAuthLogReply_Log_MenuValidationError) Key() bool
- func (e ListAuthLogReply_Log_MenuValidationError) Reason() string
- type ListAuthLogReply_Log_User
- func (*ListAuthLogReply_Log_User) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthLogReply_Log_User) GetAvatar() string
- func (x *ListAuthLogReply_Log_User) GetId() uint32
- func (x *ListAuthLogReply_Log_User) GetNickname() string
- func (x *ListAuthLogReply_Log_User) GetUsername() string
- func (*ListAuthLogReply_Log_User) ProtoMessage()
- func (x *ListAuthLogReply_Log_User) ProtoReflect() protoreflect.Message
- func (x *ListAuthLogReply_Log_User) Reset()
- func (x *ListAuthLogReply_Log_User) String() string
- func (m *ListAuthLogReply_Log_User) Validate() error
- func (m *ListAuthLogReply_Log_User) ValidateAll() error
- type ListAuthLogReply_Log_UserMultiError
- type ListAuthLogReply_Log_UserValidationError
- func (e ListAuthLogReply_Log_UserValidationError) Cause() error
- func (e ListAuthLogReply_Log_UserValidationError) Error() string
- func (e ListAuthLogReply_Log_UserValidationError) ErrorName() string
- func (e ListAuthLogReply_Log_UserValidationError) Field() string
- func (e ListAuthLogReply_Log_UserValidationError) Key() bool
- func (e ListAuthLogReply_Log_UserValidationError) Reason() string
- type ListAuthLogRequest
- func (*ListAuthLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthLogRequest) GetCreatedAts() []int64
- func (x *ListAuthLogRequest) GetPage() uint32
- func (x *ListAuthLogRequest) GetPageSize() uint32
- func (x *ListAuthLogRequest) GetUsername() string
- func (*ListAuthLogRequest) ProtoMessage()
- func (x *ListAuthLogRequest) ProtoReflect() protoreflect.Message
- func (x *ListAuthLogRequest) Reset()
- func (x *ListAuthLogRequest) String() string
- func (m *ListAuthLogRequest) Validate() error
- func (m *ListAuthLogRequest) ValidateAll() error
- type ListAuthLogRequestMultiError
- type ListAuthLogRequestValidationError
- func (e ListAuthLogRequestValidationError) Cause() error
- func (e ListAuthLogRequestValidationError) Error() string
- func (e ListAuthLogRequestValidationError) ErrorName() string
- func (e ListAuthLogRequestValidationError) Field() string
- func (e ListAuthLogRequestValidationError) Key() bool
- func (e ListAuthLogRequestValidationError) Reason() string
- type ListLoginLogReply
- func (*ListLoginLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListLoginLogReply) GetList() []*ListLoginLogReply_Log
- func (x *ListLoginLogReply) GetTotal() uint32
- func (*ListLoginLogReply) ProtoMessage()
- func (x *ListLoginLogReply) ProtoReflect() protoreflect.Message
- func (x *ListLoginLogReply) Reset()
- func (x *ListLoginLogReply) String() string
- func (m *ListLoginLogReply) Validate() error
- func (m *ListLoginLogReply) ValidateAll() error
- type ListLoginLogReplyMultiError
- type ListLoginLogReplyValidationError
- func (e ListLoginLogReplyValidationError) Cause() error
- func (e ListLoginLogReplyValidationError) Error() string
- func (e ListLoginLogReplyValidationError) ErrorName() string
- func (e ListLoginLogReplyValidationError) Field() string
- func (e ListLoginLogReplyValidationError) Key() bool
- func (e ListLoginLogReplyValidationError) Reason() string
- type ListLoginLogReply_App
- func (*ListLoginLogReply_App) Descriptor() ([]byte, []int)deprecated
- func (x *ListLoginLogReply_App) GetId() uint32
- func (x *ListLoginLogReply_App) GetKeyword() string
- func (x *ListLoginLogReply_App) GetLogo() string
- func (x *ListLoginLogReply_App) GetName() string
- func (*ListLoginLogReply_App) ProtoMessage()
- func (x *ListLoginLogReply_App) ProtoReflect() protoreflect.Message
- func (x *ListLoginLogReply_App) Reset()
- func (x *ListLoginLogReply_App) String() string
- func (m *ListLoginLogReply_App) Validate() error
- func (m *ListLoginLogReply_App) ValidateAll() error
- type ListLoginLogReply_AppMultiError
- type ListLoginLogReply_AppValidationError
- func (e ListLoginLogReply_AppValidationError) Cause() error
- func (e ListLoginLogReply_AppValidationError) Error() string
- func (e ListLoginLogReply_AppValidationError) ErrorName() string
- func (e ListLoginLogReply_AppValidationError) Field() string
- func (e ListLoginLogReply_AppValidationError) Key() bool
- func (e ListLoginLogReply_AppValidationError) Reason() string
- type ListLoginLogReply_Log
- func (*ListLoginLogReply_Log) Descriptor() ([]byte, []int)deprecated
- func (x *ListLoginLogReply_Log) GetAddress() string
- func (x *ListLoginLogReply_Log) GetApp() *ListLoginLogReply_App
- func (x *ListLoginLogReply_Log) GetAppId() uint32
- func (x *ListLoginLogReply_Log) GetBrowser() string
- func (x *ListLoginLogReply_Log) GetCode() int32
- func (x *ListLoginLogReply_Log) GetCreatedAt() uint32
- func (x *ListLoginLogReply_Log) GetDescription() string
- func (x *ListLoginLogReply_Log) GetDevice() string
- func (x *ListLoginLogReply_Log) GetIp() string
- func (x *ListLoginLogReply_Log) GetType() string
- func (x *ListLoginLogReply_Log) GetUser() *ListLoginLogReply_User
- func (*ListLoginLogReply_Log) ProtoMessage()
- func (x *ListLoginLogReply_Log) ProtoReflect() protoreflect.Message
- func (x *ListLoginLogReply_Log) Reset()
- func (x *ListLoginLogReply_Log) String() string
- func (m *ListLoginLogReply_Log) Validate() error
- func (m *ListLoginLogReply_Log) ValidateAll() error
- type ListLoginLogReply_LogMultiError
- type ListLoginLogReply_LogValidationError
- func (e ListLoginLogReply_LogValidationError) Cause() error
- func (e ListLoginLogReply_LogValidationError) Error() string
- func (e ListLoginLogReply_LogValidationError) ErrorName() string
- func (e ListLoginLogReply_LogValidationError) Field() string
- func (e ListLoginLogReply_LogValidationError) Key() bool
- func (e ListLoginLogReply_LogValidationError) Reason() string
- type ListLoginLogReply_User
- func (*ListLoginLogReply_User) Descriptor() ([]byte, []int)deprecated
- func (x *ListLoginLogReply_User) GetAvatar() string
- func (x *ListLoginLogReply_User) GetId() uint32
- func (x *ListLoginLogReply_User) GetNickname() string
- func (x *ListLoginLogReply_User) GetUsername() string
- func (*ListLoginLogReply_User) ProtoMessage()
- func (x *ListLoginLogReply_User) ProtoReflect() protoreflect.Message
- func (x *ListLoginLogReply_User) Reset()
- func (x *ListLoginLogReply_User) String() string
- func (m *ListLoginLogReply_User) Validate() error
- func (m *ListLoginLogReply_User) ValidateAll() error
- type ListLoginLogReply_UserMultiError
- type ListLoginLogReply_UserValidationError
- func (e ListLoginLogReply_UserValidationError) Cause() error
- func (e ListLoginLogReply_UserValidationError) Error() string
- func (e ListLoginLogReply_UserValidationError) ErrorName() string
- func (e ListLoginLogReply_UserValidationError) Field() string
- func (e ListLoginLogReply_UserValidationError) Key() bool
- func (e ListLoginLogReply_UserValidationError) Reason() string
- type ListLoginLogRequest
- func (*ListLoginLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLoginLogRequest) GetCreatedAts() []int64
- func (x *ListLoginLogRequest) GetPage() uint32
- func (x *ListLoginLogRequest) GetPageSize() uint32
- func (x *ListLoginLogRequest) GetUsername() string
- func (*ListLoginLogRequest) ProtoMessage()
- func (x *ListLoginLogRequest) ProtoReflect() protoreflect.Message
- func (x *ListLoginLogRequest) Reset()
- func (x *ListLoginLogRequest) String() string
- func (m *ListLoginLogRequest) Validate() error
- func (m *ListLoginLogRequest) ValidateAll() error
- type ListLoginLogRequestMultiError
- type ListLoginLogRequestValidationError
- func (e ListLoginLogRequestValidationError) Cause() error
- func (e ListLoginLogRequestValidationError) Error() string
- func (e ListLoginLogRequestValidationError) ErrorName() string
- func (e ListLoginLogRequestValidationError) Field() string
- func (e ListLoginLogRequestValidationError) Key() bool
- func (e ListLoginLogRequestValidationError) Reason() string
- type LogClient
- type LogHTTPClient
- type LogHTTPClientImpl
- type LogHTTPServer
- type LogServer
- type UnimplementedLogServer
- type UnsafeLogServer
Constants ¶
const ( Log_ListLoginLog_FullMethodName = "/manager.api.log.Log/ListLoginLog" Log_ListAuthLog_FullMethodName = "/manager.api.log.Log/ListAuthLog" )
const ( OperationLogListAuthLog = "/manager.api.log.Log/ListAuthLog" OperationLogListLoginLog = "/manager.api.log.Log/ListLoginLog" )
Variables ¶
var File_api_log_proto_log_proto protoreflect.FileDescriptor
var File_api_log_proto_log_service_proto protoreflect.FileDescriptor
var Log_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manager.api.log.Log", HandlerType: (*LogServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListLoginLog", Handler: _Log_ListLoginLog_Handler, }, { MethodName: "ListAuthLog", Handler: _Log_ListAuthLog_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/log/proto/log_service.proto", }
Log_ServiceDesc is the grpc.ServiceDesc for Log service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLogHTTPServer ¶
func RegisterLogHTTPServer(s *http.Server, srv LogHTTPServer)
func RegisterLogServer ¶
func RegisterLogServer(s grpc.ServiceRegistrar, srv LogServer)
Types ¶
type ListAuthLogReply ¶
type ListAuthLogReply struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*ListAuthLogReply_Log `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ListAuthLogReply) Descriptor
deprecated
func (*ListAuthLogReply) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthLogReply.ProtoReflect.Descriptor instead.
func (*ListAuthLogReply) GetList ¶
func (x *ListAuthLogReply) GetList() []*ListAuthLogReply_Log
func (*ListAuthLogReply) GetTotal ¶
func (x *ListAuthLogReply) GetTotal() uint32
func (*ListAuthLogReply) ProtoMessage ¶
func (*ListAuthLogReply) ProtoMessage()
func (*ListAuthLogReply) ProtoReflect ¶
func (x *ListAuthLogReply) ProtoReflect() protoreflect.Message
func (*ListAuthLogReply) Reset ¶
func (x *ListAuthLogReply) Reset()
func (*ListAuthLogReply) String ¶
func (x *ListAuthLogReply) String() string
func (*ListAuthLogReply) Validate ¶
func (m *ListAuthLogReply) Validate() error
Validate checks the field values on ListAuthLogReply 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 (*ListAuthLogReply) ValidateAll ¶
func (m *ListAuthLogReply) ValidateAll() error
ValidateAll checks the field values on ListAuthLogReply 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 ListAuthLogReplyMultiError, or nil if none found.
type ListAuthLogReplyMultiError ¶
type ListAuthLogReplyMultiError []error
ListAuthLogReplyMultiError is an error wrapping multiple validation errors returned by ListAuthLogReply.ValidateAll() if the designated constraints aren't met.
func (ListAuthLogReplyMultiError) AllErrors ¶
func (m ListAuthLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAuthLogReplyMultiError) Error ¶
func (m ListAuthLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAuthLogReplyValidationError ¶
type ListAuthLogReplyValidationError struct {
// contains filtered or unexported fields
}
ListAuthLogReplyValidationError is the validation error returned by ListAuthLogReply.Validate if the designated constraints aren't met.
func (ListAuthLogReplyValidationError) Cause ¶
func (e ListAuthLogReplyValidationError) Cause() error
Cause function returns cause value.
func (ListAuthLogReplyValidationError) Error ¶
func (e ListAuthLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListAuthLogReplyValidationError) ErrorName ¶
func (e ListAuthLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListAuthLogReplyValidationError) Field ¶
func (e ListAuthLogReplyValidationError) Field() string
Field function returns field value.
func (ListAuthLogReplyValidationError) Key ¶
func (e ListAuthLogReplyValidationError) Key() bool
Key function returns key value.
func (ListAuthLogReplyValidationError) Reason ¶
func (e ListAuthLogReplyValidationError) Reason() string
Reason function returns reason value.
type ListAuthLogReply_Log ¶
type ListAuthLogReply_Log struct {
User *ListAuthLogReply_Log_User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
App *ListAuthLogReply_Log_App `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
Menu *ListAuthLogReply_Log_Menu `protobuf:"bytes,3,opt,name=menu,proto3" json:"menu,omitempty"`
CreatedAt uint32 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
// contains filtered or unexported fields
}
func (*ListAuthLogReply_Log) Descriptor
deprecated
func (*ListAuthLogReply_Log) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthLogReply_Log.ProtoReflect.Descriptor instead.
func (*ListAuthLogReply_Log) GetApp ¶
func (x *ListAuthLogReply_Log) GetApp() *ListAuthLogReply_Log_App
func (*ListAuthLogReply_Log) GetCreatedAt ¶
func (x *ListAuthLogReply_Log) GetCreatedAt() uint32
func (*ListAuthLogReply_Log) GetMenu ¶
func (x *ListAuthLogReply_Log) GetMenu() *ListAuthLogReply_Log_Menu
func (*ListAuthLogReply_Log) GetUser ¶
func (x *ListAuthLogReply_Log) GetUser() *ListAuthLogReply_Log_User
func (*ListAuthLogReply_Log) ProtoMessage ¶
func (*ListAuthLogReply_Log) ProtoMessage()
func (*ListAuthLogReply_Log) ProtoReflect ¶
func (x *ListAuthLogReply_Log) ProtoReflect() protoreflect.Message
func (*ListAuthLogReply_Log) Reset ¶
func (x *ListAuthLogReply_Log) Reset()
func (*ListAuthLogReply_Log) String ¶
func (x *ListAuthLogReply_Log) String() string
func (*ListAuthLogReply_Log) Validate ¶
func (m *ListAuthLogReply_Log) Validate() error
Validate checks the field values on ListAuthLogReply_Log 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 (*ListAuthLogReply_Log) ValidateAll ¶
func (m *ListAuthLogReply_Log) ValidateAll() error
ValidateAll checks the field values on ListAuthLogReply_Log 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 ListAuthLogReply_LogMultiError, or nil if none found.
type ListAuthLogReply_LogMultiError ¶
type ListAuthLogReply_LogMultiError []error
ListAuthLogReply_LogMultiError is an error wrapping multiple validation errors returned by ListAuthLogReply_Log.ValidateAll() if the designated constraints aren't met.
func (ListAuthLogReply_LogMultiError) AllErrors ¶
func (m ListAuthLogReply_LogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAuthLogReply_LogMultiError) Error ¶
func (m ListAuthLogReply_LogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAuthLogReply_LogValidationError ¶
type ListAuthLogReply_LogValidationError struct {
// contains filtered or unexported fields
}
ListAuthLogReply_LogValidationError is the validation error returned by ListAuthLogReply_Log.Validate if the designated constraints aren't met.
func (ListAuthLogReply_LogValidationError) Cause ¶
func (e ListAuthLogReply_LogValidationError) Cause() error
Cause function returns cause value.
func (ListAuthLogReply_LogValidationError) Error ¶
func (e ListAuthLogReply_LogValidationError) Error() string
Error satisfies the builtin error interface
func (ListAuthLogReply_LogValidationError) ErrorName ¶
func (e ListAuthLogReply_LogValidationError) ErrorName() string
ErrorName returns error name.
func (ListAuthLogReply_LogValidationError) Field ¶
func (e ListAuthLogReply_LogValidationError) Field() string
Field function returns field value.
func (ListAuthLogReply_LogValidationError) Key ¶
func (e ListAuthLogReply_LogValidationError) Key() bool
Key function returns key value.
func (ListAuthLogReply_LogValidationError) Reason ¶
func (e ListAuthLogReply_LogValidationError) Reason() string
Reason function returns reason value.
type ListAuthLogReply_Log_App ¶
type ListAuthLogReply_Log_App struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
Logo string `protobuf:"bytes,4,opt,name=logo,proto3" json:"logo,omitempty"`
// contains filtered or unexported fields
}
func (*ListAuthLogReply_Log_App) Descriptor
deprecated
func (*ListAuthLogReply_Log_App) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthLogReply_Log_App.ProtoReflect.Descriptor instead.
func (*ListAuthLogReply_Log_App) GetId ¶
func (x *ListAuthLogReply_Log_App) GetId() uint32
func (*ListAuthLogReply_Log_App) GetKeyword ¶
func (x *ListAuthLogReply_Log_App) GetKeyword() string
func (*ListAuthLogReply_Log_App) GetLogo ¶
func (x *ListAuthLogReply_Log_App) GetLogo() string
func (*ListAuthLogReply_Log_App) GetName ¶
func (x *ListAuthLogReply_Log_App) GetName() string
func (*ListAuthLogReply_Log_App) ProtoMessage ¶
func (*ListAuthLogReply_Log_App) ProtoMessage()
func (*ListAuthLogReply_Log_App) ProtoReflect ¶
func (x *ListAuthLogReply_Log_App) ProtoReflect() protoreflect.Message
func (*ListAuthLogReply_Log_App) Reset ¶
func (x *ListAuthLogReply_Log_App) Reset()
func (*ListAuthLogReply_Log_App) String ¶
func (x *ListAuthLogReply_Log_App) String() string
func (*ListAuthLogReply_Log_App) Validate ¶
func (m *ListAuthLogReply_Log_App) Validate() error
Validate checks the field values on ListAuthLogReply_Log_App 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 (*ListAuthLogReply_Log_App) ValidateAll ¶
func (m *ListAuthLogReply_Log_App) ValidateAll() error
ValidateAll checks the field values on ListAuthLogReply_Log_App 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 ListAuthLogReply_Log_AppMultiError, or nil if none found.
type ListAuthLogReply_Log_AppMultiError ¶
type ListAuthLogReply_Log_AppMultiError []error
ListAuthLogReply_Log_AppMultiError is an error wrapping multiple validation errors returned by ListAuthLogReply_Log_App.ValidateAll() if the designated constraints aren't met.
func (ListAuthLogReply_Log_AppMultiError) AllErrors ¶
func (m ListAuthLogReply_Log_AppMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAuthLogReply_Log_AppMultiError) Error ¶
func (m ListAuthLogReply_Log_AppMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAuthLogReply_Log_AppValidationError ¶
type ListAuthLogReply_Log_AppValidationError struct {
// contains filtered or unexported fields
}
ListAuthLogReply_Log_AppValidationError is the validation error returned by ListAuthLogReply_Log_App.Validate if the designated constraints aren't met.
func (ListAuthLogReply_Log_AppValidationError) Cause ¶
func (e ListAuthLogReply_Log_AppValidationError) Cause() error
Cause function returns cause value.
func (ListAuthLogReply_Log_AppValidationError) Error ¶
func (e ListAuthLogReply_Log_AppValidationError) Error() string
Error satisfies the builtin error interface
func (ListAuthLogReply_Log_AppValidationError) ErrorName ¶
func (e ListAuthLogReply_Log_AppValidationError) ErrorName() string
ErrorName returns error name.
func (ListAuthLogReply_Log_AppValidationError) Field ¶
func (e ListAuthLogReply_Log_AppValidationError) Field() string
Field function returns field value.
func (ListAuthLogReply_Log_AppValidationError) Key ¶
func (e ListAuthLogReply_Log_AppValidationError) Key() bool
Key function returns key value.
func (ListAuthLogReply_Log_AppValidationError) Reason ¶
func (e ListAuthLogReply_Log_AppValidationError) Reason() string
Reason function returns reason value.
type ListAuthLogReply_Log_Menu ¶
type ListAuthLogReply_Log_Menu struct {
Api string `protobuf:"bytes,5,opt,name=api,proto3" json:"api,omitempty"`
Method string `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"`
Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
// contains filtered or unexported fields
}
func (*ListAuthLogReply_Log_Menu) Descriptor
deprecated
func (*ListAuthLogReply_Log_Menu) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthLogReply_Log_Menu.ProtoReflect.Descriptor instead.
func (*ListAuthLogReply_Log_Menu) GetApi ¶
func (x *ListAuthLogReply_Log_Menu) GetApi() string
func (*ListAuthLogReply_Log_Menu) GetMethod ¶
func (x *ListAuthLogReply_Log_Menu) GetMethod() string
func (*ListAuthLogReply_Log_Menu) GetTitle ¶
func (x *ListAuthLogReply_Log_Menu) GetTitle() string
func (*ListAuthLogReply_Log_Menu) ProtoMessage ¶
func (*ListAuthLogReply_Log_Menu) ProtoMessage()
func (*ListAuthLogReply_Log_Menu) ProtoReflect ¶
func (x *ListAuthLogReply_Log_Menu) ProtoReflect() protoreflect.Message
func (*ListAuthLogReply_Log_Menu) Reset ¶
func (x *ListAuthLogReply_Log_Menu) Reset()
func (*ListAuthLogReply_Log_Menu) String ¶
func (x *ListAuthLogReply_Log_Menu) String() string
func (*ListAuthLogReply_Log_Menu) Validate ¶
func (m *ListAuthLogReply_Log_Menu) Validate() error
Validate checks the field values on ListAuthLogReply_Log_Menu 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 (*ListAuthLogReply_Log_Menu) ValidateAll ¶
func (m *ListAuthLogReply_Log_Menu) ValidateAll() error
ValidateAll checks the field values on ListAuthLogReply_Log_Menu 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 ListAuthLogReply_Log_MenuMultiError, or nil if none found.
type ListAuthLogReply_Log_MenuMultiError ¶
type ListAuthLogReply_Log_MenuMultiError []error
ListAuthLogReply_Log_MenuMultiError is an error wrapping multiple validation errors returned by ListAuthLogReply_Log_Menu.ValidateAll() if the designated constraints aren't met.
func (ListAuthLogReply_Log_MenuMultiError) AllErrors ¶
func (m ListAuthLogReply_Log_MenuMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAuthLogReply_Log_MenuMultiError) Error ¶
func (m ListAuthLogReply_Log_MenuMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAuthLogReply_Log_MenuValidationError ¶
type ListAuthLogReply_Log_MenuValidationError struct {
// contains filtered or unexported fields
}
ListAuthLogReply_Log_MenuValidationError is the validation error returned by ListAuthLogReply_Log_Menu.Validate if the designated constraints aren't met.
func (ListAuthLogReply_Log_MenuValidationError) Cause ¶
func (e ListAuthLogReply_Log_MenuValidationError) Cause() error
Cause function returns cause value.
func (ListAuthLogReply_Log_MenuValidationError) Error ¶
func (e ListAuthLogReply_Log_MenuValidationError) Error() string
Error satisfies the builtin error interface
func (ListAuthLogReply_Log_MenuValidationError) ErrorName ¶
func (e ListAuthLogReply_Log_MenuValidationError) ErrorName() string
ErrorName returns error name.
func (ListAuthLogReply_Log_MenuValidationError) Field ¶
func (e ListAuthLogReply_Log_MenuValidationError) Field() string
Field function returns field value.
func (ListAuthLogReply_Log_MenuValidationError) Key ¶
func (e ListAuthLogReply_Log_MenuValidationError) Key() bool
Key function returns key value.
func (ListAuthLogReply_Log_MenuValidationError) Reason ¶
func (e ListAuthLogReply_Log_MenuValidationError) Reason() string
Reason function returns reason value.
type ListAuthLogReply_Log_User ¶
type ListAuthLogReply_Log_User struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
// contains filtered or unexported fields
}
func (*ListAuthLogReply_Log_User) Descriptor
deprecated
func (*ListAuthLogReply_Log_User) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthLogReply_Log_User.ProtoReflect.Descriptor instead.
func (*ListAuthLogReply_Log_User) GetAvatar ¶
func (x *ListAuthLogReply_Log_User) GetAvatar() string
func (*ListAuthLogReply_Log_User) GetId ¶
func (x *ListAuthLogReply_Log_User) GetId() uint32
func (*ListAuthLogReply_Log_User) GetNickname ¶
func (x *ListAuthLogReply_Log_User) GetNickname() string
func (*ListAuthLogReply_Log_User) GetUsername ¶
func (x *ListAuthLogReply_Log_User) GetUsername() string
func (*ListAuthLogReply_Log_User) ProtoMessage ¶
func (*ListAuthLogReply_Log_User) ProtoMessage()
func (*ListAuthLogReply_Log_User) ProtoReflect ¶
func (x *ListAuthLogReply_Log_User) ProtoReflect() protoreflect.Message
func (*ListAuthLogReply_Log_User) Reset ¶
func (x *ListAuthLogReply_Log_User) Reset()
func (*ListAuthLogReply_Log_User) String ¶
func (x *ListAuthLogReply_Log_User) String() string
func (*ListAuthLogReply_Log_User) Validate ¶
func (m *ListAuthLogReply_Log_User) Validate() error
Validate checks the field values on ListAuthLogReply_Log_User 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 (*ListAuthLogReply_Log_User) ValidateAll ¶
func (m *ListAuthLogReply_Log_User) ValidateAll() error
ValidateAll checks the field values on ListAuthLogReply_Log_User 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 ListAuthLogReply_Log_UserMultiError, or nil if none found.
type ListAuthLogReply_Log_UserMultiError ¶
type ListAuthLogReply_Log_UserMultiError []error
ListAuthLogReply_Log_UserMultiError is an error wrapping multiple validation errors returned by ListAuthLogReply_Log_User.ValidateAll() if the designated constraints aren't met.
func (ListAuthLogReply_Log_UserMultiError) AllErrors ¶
func (m ListAuthLogReply_Log_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAuthLogReply_Log_UserMultiError) Error ¶
func (m ListAuthLogReply_Log_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAuthLogReply_Log_UserValidationError ¶
type ListAuthLogReply_Log_UserValidationError struct {
// contains filtered or unexported fields
}
ListAuthLogReply_Log_UserValidationError is the validation error returned by ListAuthLogReply_Log_User.Validate if the designated constraints aren't met.
func (ListAuthLogReply_Log_UserValidationError) Cause ¶
func (e ListAuthLogReply_Log_UserValidationError) Cause() error
Cause function returns cause value.
func (ListAuthLogReply_Log_UserValidationError) Error ¶
func (e ListAuthLogReply_Log_UserValidationError) Error() string
Error satisfies the builtin error interface
func (ListAuthLogReply_Log_UserValidationError) ErrorName ¶
func (e ListAuthLogReply_Log_UserValidationError) ErrorName() string
ErrorName returns error name.
func (ListAuthLogReply_Log_UserValidationError) Field ¶
func (e ListAuthLogReply_Log_UserValidationError) Field() string
Field function returns field value.
func (ListAuthLogReply_Log_UserValidationError) Key ¶
func (e ListAuthLogReply_Log_UserValidationError) Key() bool
Key function returns key value.
func (ListAuthLogReply_Log_UserValidationError) Reason ¶
func (e ListAuthLogReply_Log_UserValidationError) Reason() string
Reason function returns reason value.
type ListAuthLogRequest ¶
type ListAuthLogRequest struct {
Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username,omitempty"`
CreatedAts []int64 `protobuf:"varint,4,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"`
// contains filtered or unexported fields
}
func (*ListAuthLogRequest) Descriptor
deprecated
func (*ListAuthLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthLogRequest.ProtoReflect.Descriptor instead.
func (*ListAuthLogRequest) GetCreatedAts ¶
func (x *ListAuthLogRequest) GetCreatedAts() []int64
func (*ListAuthLogRequest) GetPage ¶
func (x *ListAuthLogRequest) GetPage() uint32
func (*ListAuthLogRequest) GetPageSize ¶
func (x *ListAuthLogRequest) GetPageSize() uint32
func (*ListAuthLogRequest) GetUsername ¶
func (x *ListAuthLogRequest) GetUsername() string
func (*ListAuthLogRequest) ProtoMessage ¶
func (*ListAuthLogRequest) ProtoMessage()
func (*ListAuthLogRequest) ProtoReflect ¶
func (x *ListAuthLogRequest) ProtoReflect() protoreflect.Message
func (*ListAuthLogRequest) Reset ¶
func (x *ListAuthLogRequest) Reset()
func (*ListAuthLogRequest) String ¶
func (x *ListAuthLogRequest) String() string
func (*ListAuthLogRequest) Validate ¶
func (m *ListAuthLogRequest) Validate() error
Validate checks the field values on ListAuthLogRequest 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 (*ListAuthLogRequest) ValidateAll ¶
func (m *ListAuthLogRequest) ValidateAll() error
ValidateAll checks the field values on ListAuthLogRequest 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 ListAuthLogRequestMultiError, or nil if none found.
type ListAuthLogRequestMultiError ¶
type ListAuthLogRequestMultiError []error
ListAuthLogRequestMultiError is an error wrapping multiple validation errors returned by ListAuthLogRequest.ValidateAll() if the designated constraints aren't met.
func (ListAuthLogRequestMultiError) AllErrors ¶
func (m ListAuthLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAuthLogRequestMultiError) Error ¶
func (m ListAuthLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAuthLogRequestValidationError ¶
type ListAuthLogRequestValidationError struct {
// contains filtered or unexported fields
}
ListAuthLogRequestValidationError is the validation error returned by ListAuthLogRequest.Validate if the designated constraints aren't met.
func (ListAuthLogRequestValidationError) Cause ¶
func (e ListAuthLogRequestValidationError) Cause() error
Cause function returns cause value.
func (ListAuthLogRequestValidationError) Error ¶
func (e ListAuthLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListAuthLogRequestValidationError) ErrorName ¶
func (e ListAuthLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListAuthLogRequestValidationError) Field ¶
func (e ListAuthLogRequestValidationError) Field() string
Field function returns field value.
func (ListAuthLogRequestValidationError) Key ¶
func (e ListAuthLogRequestValidationError) Key() bool
Key function returns key value.
func (ListAuthLogRequestValidationError) Reason ¶
func (e ListAuthLogRequestValidationError) Reason() string
Reason function returns reason value.
type ListLoginLogReply ¶
type ListLoginLogReply struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*ListLoginLogReply_Log `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ListLoginLogReply) Descriptor
deprecated
func (*ListLoginLogReply) Descriptor() ([]byte, []int)
Deprecated: Use ListLoginLogReply.ProtoReflect.Descriptor instead.
func (*ListLoginLogReply) GetList ¶
func (x *ListLoginLogReply) GetList() []*ListLoginLogReply_Log
func (*ListLoginLogReply) GetTotal ¶
func (x *ListLoginLogReply) GetTotal() uint32
func (*ListLoginLogReply) ProtoMessage ¶
func (*ListLoginLogReply) ProtoMessage()
func (*ListLoginLogReply) ProtoReflect ¶
func (x *ListLoginLogReply) ProtoReflect() protoreflect.Message
func (*ListLoginLogReply) Reset ¶
func (x *ListLoginLogReply) Reset()
func (*ListLoginLogReply) String ¶
func (x *ListLoginLogReply) String() string
func (*ListLoginLogReply) Validate ¶
func (m *ListLoginLogReply) Validate() error
Validate checks the field values on ListLoginLogReply 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 (*ListLoginLogReply) ValidateAll ¶
func (m *ListLoginLogReply) ValidateAll() error
ValidateAll checks the field values on ListLoginLogReply 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 ListLoginLogReplyMultiError, or nil if none found.
type ListLoginLogReplyMultiError ¶
type ListLoginLogReplyMultiError []error
ListLoginLogReplyMultiError is an error wrapping multiple validation errors returned by ListLoginLogReply.ValidateAll() if the designated constraints aren't met.
func (ListLoginLogReplyMultiError) AllErrors ¶
func (m ListLoginLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListLoginLogReplyMultiError) Error ¶
func (m ListLoginLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListLoginLogReplyValidationError ¶
type ListLoginLogReplyValidationError struct {
// contains filtered or unexported fields
}
ListLoginLogReplyValidationError is the validation error returned by ListLoginLogReply.Validate if the designated constraints aren't met.
func (ListLoginLogReplyValidationError) Cause ¶
func (e ListLoginLogReplyValidationError) Cause() error
Cause function returns cause value.
func (ListLoginLogReplyValidationError) Error ¶
func (e ListLoginLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListLoginLogReplyValidationError) ErrorName ¶
func (e ListLoginLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListLoginLogReplyValidationError) Field ¶
func (e ListLoginLogReplyValidationError) Field() string
Field function returns field value.
func (ListLoginLogReplyValidationError) Key ¶
func (e ListLoginLogReplyValidationError) Key() bool
Key function returns key value.
func (ListLoginLogReplyValidationError) Reason ¶
func (e ListLoginLogReplyValidationError) Reason() string
Reason function returns reason value.
type ListLoginLogReply_App ¶
type ListLoginLogReply_App struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
Logo string `protobuf:"bytes,4,opt,name=logo,proto3" json:"logo,omitempty"`
// contains filtered or unexported fields
}
func (*ListLoginLogReply_App) Descriptor
deprecated
func (*ListLoginLogReply_App) Descriptor() ([]byte, []int)
Deprecated: Use ListLoginLogReply_App.ProtoReflect.Descriptor instead.
func (*ListLoginLogReply_App) GetId ¶
func (x *ListLoginLogReply_App) GetId() uint32
func (*ListLoginLogReply_App) GetKeyword ¶
func (x *ListLoginLogReply_App) GetKeyword() string
func (*ListLoginLogReply_App) GetLogo ¶
func (x *ListLoginLogReply_App) GetLogo() string
func (*ListLoginLogReply_App) GetName ¶
func (x *ListLoginLogReply_App) GetName() string
func (*ListLoginLogReply_App) ProtoMessage ¶
func (*ListLoginLogReply_App) ProtoMessage()
func (*ListLoginLogReply_App) ProtoReflect ¶
func (x *ListLoginLogReply_App) ProtoReflect() protoreflect.Message
func (*ListLoginLogReply_App) Reset ¶
func (x *ListLoginLogReply_App) Reset()
func (*ListLoginLogReply_App) String ¶
func (x *ListLoginLogReply_App) String() string
func (*ListLoginLogReply_App) Validate ¶
func (m *ListLoginLogReply_App) Validate() error
Validate checks the field values on ListLoginLogReply_App 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 (*ListLoginLogReply_App) ValidateAll ¶
func (m *ListLoginLogReply_App) ValidateAll() error
ValidateAll checks the field values on ListLoginLogReply_App 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 ListLoginLogReply_AppMultiError, or nil if none found.
type ListLoginLogReply_AppMultiError ¶
type ListLoginLogReply_AppMultiError []error
ListLoginLogReply_AppMultiError is an error wrapping multiple validation errors returned by ListLoginLogReply_App.ValidateAll() if the designated constraints aren't met.
func (ListLoginLogReply_AppMultiError) AllErrors ¶
func (m ListLoginLogReply_AppMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListLoginLogReply_AppMultiError) Error ¶
func (m ListLoginLogReply_AppMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListLoginLogReply_AppValidationError ¶
type ListLoginLogReply_AppValidationError struct {
// contains filtered or unexported fields
}
ListLoginLogReply_AppValidationError is the validation error returned by ListLoginLogReply_App.Validate if the designated constraints aren't met.
func (ListLoginLogReply_AppValidationError) Cause ¶
func (e ListLoginLogReply_AppValidationError) Cause() error
Cause function returns cause value.
func (ListLoginLogReply_AppValidationError) Error ¶
func (e ListLoginLogReply_AppValidationError) Error() string
Error satisfies the builtin error interface
func (ListLoginLogReply_AppValidationError) ErrorName ¶
func (e ListLoginLogReply_AppValidationError) ErrorName() string
ErrorName returns error name.
func (ListLoginLogReply_AppValidationError) Field ¶
func (e ListLoginLogReply_AppValidationError) Field() string
Field function returns field value.
func (ListLoginLogReply_AppValidationError) Key ¶
func (e ListLoginLogReply_AppValidationError) Key() bool
Key function returns key value.
func (ListLoginLogReply_AppValidationError) Reason ¶
func (e ListLoginLogReply_AppValidationError) Reason() string
Reason function returns reason value.
type ListLoginLogReply_Log ¶
type ListLoginLogReply_Log struct {
AppId uint32 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
Browser string `protobuf:"bytes,5,opt,name=browser,proto3" json:"browser,omitempty"`
Device string `protobuf:"bytes,6,opt,name=device,proto3" json:"device,omitempty"`
Code int32 `protobuf:"varint,7,opt,name=code,proto3" json:"code,omitempty"`
Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
CreatedAt uint32 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
User *ListLoginLogReply_User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
App *ListLoginLogReply_App `protobuf:"bytes,11,opt,name=app,proto3" json:"app,omitempty"`
// contains filtered or unexported fields
}
func (*ListLoginLogReply_Log) Descriptor
deprecated
func (*ListLoginLogReply_Log) Descriptor() ([]byte, []int)
Deprecated: Use ListLoginLogReply_Log.ProtoReflect.Descriptor instead.
func (*ListLoginLogReply_Log) GetAddress ¶
func (x *ListLoginLogReply_Log) GetAddress() string
func (*ListLoginLogReply_Log) GetApp ¶
func (x *ListLoginLogReply_Log) GetApp() *ListLoginLogReply_App
func (*ListLoginLogReply_Log) GetAppId ¶
func (x *ListLoginLogReply_Log) GetAppId() uint32
func (*ListLoginLogReply_Log) GetBrowser ¶
func (x *ListLoginLogReply_Log) GetBrowser() string
func (*ListLoginLogReply_Log) GetCode ¶
func (x *ListLoginLogReply_Log) GetCode() int32
func (*ListLoginLogReply_Log) GetCreatedAt ¶
func (x *ListLoginLogReply_Log) GetCreatedAt() uint32
func (*ListLoginLogReply_Log) GetDescription ¶
func (x *ListLoginLogReply_Log) GetDescription() string
func (*ListLoginLogReply_Log) GetDevice ¶
func (x *ListLoginLogReply_Log) GetDevice() string
func (*ListLoginLogReply_Log) GetIp ¶
func (x *ListLoginLogReply_Log) GetIp() string
func (*ListLoginLogReply_Log) GetType ¶
func (x *ListLoginLogReply_Log) GetType() string
func (*ListLoginLogReply_Log) GetUser ¶
func (x *ListLoginLogReply_Log) GetUser() *ListLoginLogReply_User
func (*ListLoginLogReply_Log) ProtoMessage ¶
func (*ListLoginLogReply_Log) ProtoMessage()
func (*ListLoginLogReply_Log) ProtoReflect ¶
func (x *ListLoginLogReply_Log) ProtoReflect() protoreflect.Message
func (*ListLoginLogReply_Log) Reset ¶
func (x *ListLoginLogReply_Log) Reset()
func (*ListLoginLogReply_Log) String ¶
func (x *ListLoginLogReply_Log) String() string
func (*ListLoginLogReply_Log) Validate ¶
func (m *ListLoginLogReply_Log) Validate() error
Validate checks the field values on ListLoginLogReply_Log 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 (*ListLoginLogReply_Log) ValidateAll ¶
func (m *ListLoginLogReply_Log) ValidateAll() error
ValidateAll checks the field values on ListLoginLogReply_Log 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 ListLoginLogReply_LogMultiError, or nil if none found.
type ListLoginLogReply_LogMultiError ¶
type ListLoginLogReply_LogMultiError []error
ListLoginLogReply_LogMultiError is an error wrapping multiple validation errors returned by ListLoginLogReply_Log.ValidateAll() if the designated constraints aren't met.
func (ListLoginLogReply_LogMultiError) AllErrors ¶
func (m ListLoginLogReply_LogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListLoginLogReply_LogMultiError) Error ¶
func (m ListLoginLogReply_LogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListLoginLogReply_LogValidationError ¶
type ListLoginLogReply_LogValidationError struct {
// contains filtered or unexported fields
}
ListLoginLogReply_LogValidationError is the validation error returned by ListLoginLogReply_Log.Validate if the designated constraints aren't met.
func (ListLoginLogReply_LogValidationError) Cause ¶
func (e ListLoginLogReply_LogValidationError) Cause() error
Cause function returns cause value.
func (ListLoginLogReply_LogValidationError) Error ¶
func (e ListLoginLogReply_LogValidationError) Error() string
Error satisfies the builtin error interface
func (ListLoginLogReply_LogValidationError) ErrorName ¶
func (e ListLoginLogReply_LogValidationError) ErrorName() string
ErrorName returns error name.
func (ListLoginLogReply_LogValidationError) Field ¶
func (e ListLoginLogReply_LogValidationError) Field() string
Field function returns field value.
func (ListLoginLogReply_LogValidationError) Key ¶
func (e ListLoginLogReply_LogValidationError) Key() bool
Key function returns key value.
func (ListLoginLogReply_LogValidationError) Reason ¶
func (e ListLoginLogReply_LogValidationError) Reason() string
Reason function returns reason value.
type ListLoginLogReply_User ¶
type ListLoginLogReply_User struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
// contains filtered or unexported fields
}
func (*ListLoginLogReply_User) Descriptor
deprecated
func (*ListLoginLogReply_User) Descriptor() ([]byte, []int)
Deprecated: Use ListLoginLogReply_User.ProtoReflect.Descriptor instead.
func (*ListLoginLogReply_User) GetAvatar ¶
func (x *ListLoginLogReply_User) GetAvatar() string
func (*ListLoginLogReply_User) GetId ¶
func (x *ListLoginLogReply_User) GetId() uint32
func (*ListLoginLogReply_User) GetNickname ¶
func (x *ListLoginLogReply_User) GetNickname() string
func (*ListLoginLogReply_User) GetUsername ¶
func (x *ListLoginLogReply_User) GetUsername() string
func (*ListLoginLogReply_User) ProtoMessage ¶
func (*ListLoginLogReply_User) ProtoMessage()
func (*ListLoginLogReply_User) ProtoReflect ¶
func (x *ListLoginLogReply_User) ProtoReflect() protoreflect.Message
func (*ListLoginLogReply_User) Reset ¶
func (x *ListLoginLogReply_User) Reset()
func (*ListLoginLogReply_User) String ¶
func (x *ListLoginLogReply_User) String() string
func (*ListLoginLogReply_User) Validate ¶
func (m *ListLoginLogReply_User) Validate() error
Validate checks the field values on ListLoginLogReply_User 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 (*ListLoginLogReply_User) ValidateAll ¶
func (m *ListLoginLogReply_User) ValidateAll() error
ValidateAll checks the field values on ListLoginLogReply_User 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 ListLoginLogReply_UserMultiError, or nil if none found.
type ListLoginLogReply_UserMultiError ¶
type ListLoginLogReply_UserMultiError []error
ListLoginLogReply_UserMultiError is an error wrapping multiple validation errors returned by ListLoginLogReply_User.ValidateAll() if the designated constraints aren't met.
func (ListLoginLogReply_UserMultiError) AllErrors ¶
func (m ListLoginLogReply_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListLoginLogReply_UserMultiError) Error ¶
func (m ListLoginLogReply_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListLoginLogReply_UserValidationError ¶
type ListLoginLogReply_UserValidationError struct {
// contains filtered or unexported fields
}
ListLoginLogReply_UserValidationError is the validation error returned by ListLoginLogReply_User.Validate if the designated constraints aren't met.
func (ListLoginLogReply_UserValidationError) Cause ¶
func (e ListLoginLogReply_UserValidationError) Cause() error
Cause function returns cause value.
func (ListLoginLogReply_UserValidationError) Error ¶
func (e ListLoginLogReply_UserValidationError) Error() string
Error satisfies the builtin error interface
func (ListLoginLogReply_UserValidationError) ErrorName ¶
func (e ListLoginLogReply_UserValidationError) ErrorName() string
ErrorName returns error name.
func (ListLoginLogReply_UserValidationError) Field ¶
func (e ListLoginLogReply_UserValidationError) Field() string
Field function returns field value.
func (ListLoginLogReply_UserValidationError) Key ¶
func (e ListLoginLogReply_UserValidationError) Key() bool
Key function returns key value.
func (ListLoginLogReply_UserValidationError) Reason ¶
func (e ListLoginLogReply_UserValidationError) Reason() string
Reason function returns reason value.
type ListLoginLogRequest ¶
type ListLoginLogRequest struct {
Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username,omitempty"`
CreatedAts []int64 `protobuf:"varint,4,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"`
// contains filtered or unexported fields
}
func (*ListLoginLogRequest) Descriptor
deprecated
func (*ListLoginLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLoginLogRequest.ProtoReflect.Descriptor instead.
func (*ListLoginLogRequest) GetCreatedAts ¶
func (x *ListLoginLogRequest) GetCreatedAts() []int64
func (*ListLoginLogRequest) GetPage ¶
func (x *ListLoginLogRequest) GetPage() uint32
func (*ListLoginLogRequest) GetPageSize ¶
func (x *ListLoginLogRequest) GetPageSize() uint32
func (*ListLoginLogRequest) GetUsername ¶
func (x *ListLoginLogRequest) GetUsername() string
func (*ListLoginLogRequest) ProtoMessage ¶
func (*ListLoginLogRequest) ProtoMessage()
func (*ListLoginLogRequest) ProtoReflect ¶
func (x *ListLoginLogRequest) ProtoReflect() protoreflect.Message
func (*ListLoginLogRequest) Reset ¶
func (x *ListLoginLogRequest) Reset()
func (*ListLoginLogRequest) String ¶
func (x *ListLoginLogRequest) String() string
func (*ListLoginLogRequest) Validate ¶
func (m *ListLoginLogRequest) Validate() error
Validate checks the field values on ListLoginLogRequest 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 (*ListLoginLogRequest) ValidateAll ¶
func (m *ListLoginLogRequest) ValidateAll() error
ValidateAll checks the field values on ListLoginLogRequest 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 ListLoginLogRequestMultiError, or nil if none found.
type ListLoginLogRequestMultiError ¶
type ListLoginLogRequestMultiError []error
ListLoginLogRequestMultiError is an error wrapping multiple validation errors returned by ListLoginLogRequest.ValidateAll() if the designated constraints aren't met.
func (ListLoginLogRequestMultiError) AllErrors ¶
func (m ListLoginLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListLoginLogRequestMultiError) Error ¶
func (m ListLoginLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListLoginLogRequestValidationError ¶
type ListLoginLogRequestValidationError struct {
// contains filtered or unexported fields
}
ListLoginLogRequestValidationError is the validation error returned by ListLoginLogRequest.Validate if the designated constraints aren't met.
func (ListLoginLogRequestValidationError) Cause ¶
func (e ListLoginLogRequestValidationError) Cause() error
Cause function returns cause value.
func (ListLoginLogRequestValidationError) Error ¶
func (e ListLoginLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListLoginLogRequestValidationError) ErrorName ¶
func (e ListLoginLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListLoginLogRequestValidationError) Field ¶
func (e ListLoginLogRequestValidationError) Field() string
Field function returns field value.
func (ListLoginLogRequestValidationError) Key ¶
func (e ListLoginLogRequestValidationError) Key() bool
Key function returns key value.
func (ListLoginLogRequestValidationError) Reason ¶
func (e ListLoginLogRequestValidationError) Reason() string
Reason function returns reason value.
type LogClient ¶
type LogClient interface {
// ListLoginLog 获取用户登陆信息列表
ListLoginLog(ctx context.Context, in *ListLoginLogRequest, opts ...grpc.CallOption) (*ListLoginLogReply, error)
// ListAuthLog 获取用户登陆信息列表
ListAuthLog(ctx context.Context, in *ListAuthLogRequest, opts ...grpc.CallOption) (*ListAuthLogReply, error)
}
LogClient is the client API for Log service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLogClient ¶
func NewLogClient(cc grpc.ClientConnInterface) LogClient
type LogHTTPClient ¶
type LogHTTPClient interface {
ListAuthLog(ctx context.Context, req *ListAuthLogRequest, opts ...http.CallOption) (rsp *ListAuthLogReply, err error)
ListLoginLog(ctx context.Context, req *ListLoginLogRequest, opts ...http.CallOption) (rsp *ListLoginLogReply, err error)
}
func NewLogHTTPClient ¶
func NewLogHTTPClient(client *http.Client) LogHTTPClient
type LogHTTPClientImpl ¶
type LogHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*LogHTTPClientImpl) ListAuthLog ¶
func (c *LogHTTPClientImpl) ListAuthLog(ctx context.Context, in *ListAuthLogRequest, opts ...http.CallOption) (*ListAuthLogReply, error)
func (*LogHTTPClientImpl) ListLoginLog ¶
func (c *LogHTTPClientImpl) ListLoginLog(ctx context.Context, in *ListLoginLogRequest, opts ...http.CallOption) (*ListLoginLogReply, error)
type LogHTTPServer ¶
type LogHTTPServer interface {
// ListAuthLog ListAuthLog 获取用户登陆信息列表
ListAuthLog(context.Context, *ListAuthLogRequest) (*ListAuthLogReply, error)
// ListLoginLog ListLoginLog 获取用户登陆信息列表
ListLoginLog(context.Context, *ListLoginLogRequest) (*ListLoginLogReply, error)
}
type LogServer ¶
type LogServer interface {
// ListLoginLog 获取用户登陆信息列表
ListLoginLog(context.Context, *ListLoginLogRequest) (*ListLoginLogReply, error)
// ListAuthLog 获取用户登陆信息列表
ListAuthLog(context.Context, *ListAuthLogRequest) (*ListAuthLogReply, error)
// contains filtered or unexported methods
}
LogServer is the server API for Log service. All implementations must embed UnimplementedLogServer for forward compatibility
type UnimplementedLogServer ¶
type UnimplementedLogServer struct{}
UnimplementedLogServer must be embedded to have forward compatible implementations.
func (UnimplementedLogServer) ListAuthLog ¶
func (UnimplementedLogServer) ListAuthLog(context.Context, *ListAuthLogRequest) (*ListAuthLogReply, error)
func (UnimplementedLogServer) ListLoginLog ¶
func (UnimplementedLogServer) ListLoginLog(context.Context, *ListLoginLogRequest) (*ListLoginLogReply, error)
type UnsafeLogServer ¶
type UnsafeLogServer interface {
// contains filtered or unexported methods
}
UnsafeLogServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LogServer will result in compilation errors.