log

package
v0.0.0-...-d36d6b6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Log_ListLoginLog_FullMethodName = "/manager.api.log.Log/ListLoginLog"
	Log_ListAuthLog_FullMethodName  = "/manager.api.log.Log/ListAuthLog"
)
View Source
const (
	OperationLogListAuthLog  = "/manager.api.log.Log/ListAuthLog"
	OperationLogListLoginLog = "/manager.api.log.Log/ListLoginLog"
)

Variables

View Source
var File_api_log_proto_log_proto protoreflect.FileDescriptor
View Source
var File_api_log_proto_log_service_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (ListAuthLogReplyValidationError) Error

Error satisfies the builtin error interface

func (ListAuthLogReplyValidationError) ErrorName

ErrorName returns error name.

func (ListAuthLogReplyValidationError) Field

Field function returns field value.

func (ListAuthLogReplyValidationError) Key

Key function returns key value.

func (ListAuthLogReplyValidationError) Reason

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 (*ListAuthLogReply_Log) GetCreatedAt

func (x *ListAuthLogReply_Log) GetCreatedAt() uint32

func (*ListAuthLogReply_Log) GetMenu

func (*ListAuthLogReply_Log) GetUser

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

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

Cause function returns cause value.

func (ListAuthLogReply_LogValidationError) Error

Error satisfies the builtin error interface

func (ListAuthLogReply_LogValidationError) ErrorName

ErrorName returns error name.

func (ListAuthLogReply_LogValidationError) Field

Field function returns field value.

func (ListAuthLogReply_LogValidationError) Key

Key function returns key value.

func (ListAuthLogReply_LogValidationError) Reason

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"`
	// 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 (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

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

Cause function returns cause value.

func (ListAuthLogReply_Log_AppValidationError) Error

Error satisfies the builtin error interface

func (ListAuthLogReply_Log_AppValidationError) ErrorName

ErrorName returns error name.

func (ListAuthLogReply_Log_AppValidationError) Field

Field function returns field value.

func (ListAuthLogReply_Log_AppValidationError) Key

Key function returns key value.

func (ListAuthLogReply_Log_AppValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ListAuthLogReply_Log_MenuMultiError) Error

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

Cause function returns cause value.

func (ListAuthLogReply_Log_MenuValidationError) Error

Error satisfies the builtin error interface

func (ListAuthLogReply_Log_MenuValidationError) ErrorName

ErrorName returns error name.

func (ListAuthLogReply_Log_MenuValidationError) Field

Field function returns field value.

func (ListAuthLogReply_Log_MenuValidationError) Key

Key function returns key value.

func (ListAuthLogReply_Log_MenuValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ListAuthLogReply_Log_UserMultiError) Error

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

Cause function returns cause value.

func (ListAuthLogReply_Log_UserValidationError) Error

Error satisfies the builtin error interface

func (ListAuthLogReply_Log_UserValidationError) ErrorName

ErrorName returns error name.

func (ListAuthLogReply_Log_UserValidationError) Field

Field function returns field value.

func (ListAuthLogReply_Log_UserValidationError) Key

Key function returns key value.

func (ListAuthLogReply_Log_UserValidationError) Reason

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

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

Cause function returns cause value.

func (ListAuthLogRequestValidationError) Error

Error satisfies the builtin error interface

func (ListAuthLogRequestValidationError) ErrorName

ErrorName returns error name.

func (ListAuthLogRequestValidationError) Field

Field function returns field value.

func (ListAuthLogRequestValidationError) Key

Key function returns key value.

func (ListAuthLogRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListLoginLogReplyValidationError) Error

Error satisfies the builtin error interface

func (ListLoginLogReplyValidationError) ErrorName

ErrorName returns error name.

func (ListLoginLogReplyValidationError) Field

Field function returns field value.

func (ListLoginLogReplyValidationError) Key

Key function returns key value.

func (ListLoginLogReplyValidationError) Reason

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"`
	// 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 (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

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

Cause function returns cause value.

func (ListLoginLogReply_AppValidationError) Error

Error satisfies the builtin error interface

func (ListLoginLogReply_AppValidationError) ErrorName

ErrorName returns error name.

func (ListLoginLogReply_AppValidationError) Field

Field function returns field value.

func (ListLoginLogReply_AppValidationError) Key

Key function returns key value.

func (ListLoginLogReply_AppValidationError) Reason

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 (*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 (*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

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

Cause function returns cause value.

func (ListLoginLogReply_LogValidationError) Error

Error satisfies the builtin error interface

func (ListLoginLogReply_LogValidationError) ErrorName

ErrorName returns error name.

func (ListLoginLogReply_LogValidationError) Field

Field function returns field value.

func (ListLoginLogReply_LogValidationError) Key

Key function returns key value.

func (ListLoginLogReply_LogValidationError) Reason

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

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

Cause function returns cause value.

func (ListLoginLogReply_UserValidationError) Error

Error satisfies the builtin error interface

func (ListLoginLogReply_UserValidationError) ErrorName

ErrorName returns error name.

func (ListLoginLogReply_UserValidationError) Field

Field function returns field value.

func (ListLoginLogReply_UserValidationError) Key

Key function returns key value.

func (ListLoginLogReply_UserValidationError) Reason

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

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

Cause function returns cause value.

func (ListLoginLogRequestValidationError) Error

Error satisfies the builtin error interface

func (ListLoginLogRequestValidationError) ErrorName

ErrorName returns error name.

func (ListLoginLogRequestValidationError) Field

Field function returns field value.

func (ListLoginLogRequestValidationError) Key

Key function returns key value.

func (ListLoginLogRequestValidationError) Reason

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 (*LogHTTPClientImpl) ListLoginLog

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) ListLoginLog

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.

Jump to

Keyboard shortcuts

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