accountrpc

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

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

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

Documentation

Index

Constants

View Source
const (
	AccountRpc_Login_FullMethodName                    = "/accountrpc.AccountRpc/Login"
	AccountRpc_Logout_FullMethodName                   = "/accountrpc.AccountRpc/Logout"
	AccountRpc_Logoff_FullMethodName                   = "/accountrpc.AccountRpc/Logoff"
	AccountRpc_Register_FullMethodName                 = "/accountrpc.AccountRpc/Register"
	AccountRpc_ResetPassword_FullMethodName            = "/accountrpc.AccountRpc/ResetPassword"
	AccountRpc_BindUserEmail_FullMethodName            = "/accountrpc.AccountRpc/BindUserEmail"
	AccountRpc_SendRegisterEmail_FullMethodName        = "/accountrpc.AccountRpc/SendRegisterEmail"
	AccountRpc_SendResetPasswordEmail_FullMethodName   = "/accountrpc.AccountRpc/SendResetPasswordEmail"
	AccountRpc_SendBindEmail_FullMethodName            = "/accountrpc.AccountRpc/SendBindEmail"
	AccountRpc_OauthLogin_FullMethodName               = "/accountrpc.AccountRpc/OauthLogin"
	AccountRpc_GetOauthAuthorizeUrl_FullMethodName     = "/accountrpc.AccountRpc/GetOauthAuthorizeUrl"
	AccountRpc_GetUserInfo_FullMethodName              = "/accountrpc.AccountRpc/GetUserInfo"
	AccountRpc_UpdateUserInfo_FullMethodName           = "/accountrpc.AccountRpc/UpdateUserInfo"
	AccountRpc_UpdateUserStatus_FullMethodName         = "/accountrpc.AccountRpc/UpdateUserStatus"
	AccountRpc_FindUserList_FullMethodName             = "/accountrpc.AccountRpc/FindUserList"
	AccountRpc_FindUserOnlineList_FullMethodName       = "/accountrpc.AccountRpc/FindUserOnlineList"
	AccountRpc_FindUserInfoList_FullMethodName         = "/accountrpc.AccountRpc/FindUserInfoList"
	AccountRpc_FindUserLoginHistoryList_FullMethodName = "/accountrpc.AccountRpc/FindUserLoginHistoryList"
	AccountRpc_GetUserAreasAnalysis_FullMethodName     = "/accountrpc.AccountRpc/GetUserAreasAnalysis"
)

Variables

View Source
var AccountRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "accountrpc.AccountRpc",
	HandlerType: (*AccountRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _AccountRpc_Login_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _AccountRpc_Logout_Handler,
		},
		{
			MethodName: "Logoff",
			Handler:    _AccountRpc_Logoff_Handler,
		},
		{
			MethodName: "Register",
			Handler:    _AccountRpc_Register_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _AccountRpc_ResetPassword_Handler,
		},
		{
			MethodName: "BindUserEmail",
			Handler:    _AccountRpc_BindUserEmail_Handler,
		},
		{
			MethodName: "SendRegisterEmail",
			Handler:    _AccountRpc_SendRegisterEmail_Handler,
		},
		{
			MethodName: "SendResetPasswordEmail",
			Handler:    _AccountRpc_SendResetPasswordEmail_Handler,
		},
		{
			MethodName: "SendBindEmail",
			Handler:    _AccountRpc_SendBindEmail_Handler,
		},
		{
			MethodName: "OauthLogin",
			Handler:    _AccountRpc_OauthLogin_Handler,
		},
		{
			MethodName: "GetOauthAuthorizeUrl",
			Handler:    _AccountRpc_GetOauthAuthorizeUrl_Handler,
		},
		{
			MethodName: "GetUserInfo",
			Handler:    _AccountRpc_GetUserInfo_Handler,
		},
		{
			MethodName: "UpdateUserInfo",
			Handler:    _AccountRpc_UpdateUserInfo_Handler,
		},
		{
			MethodName: "UpdateUserStatus",
			Handler:    _AccountRpc_UpdateUserStatus_Handler,
		},
		{
			MethodName: "FindUserList",
			Handler:    _AccountRpc_FindUserList_Handler,
		},
		{
			MethodName: "FindUserOnlineList",
			Handler:    _AccountRpc_FindUserOnlineList_Handler,
		},
		{
			MethodName: "FindUserInfoList",
			Handler:    _AccountRpc_FindUserInfoList_Handler,
		},
		{
			MethodName: "FindUserLoginHistoryList",
			Handler:    _AccountRpc_FindUserLoginHistoryList_Handler,
		},
		{
			MethodName: "GetUserAreasAnalysis",
			Handler:    _AccountRpc_GetUserAreasAnalysis_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "account.proto",
}

AccountRpc_ServiceDesc is the grpc.ServiceDesc for AccountRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_account_proto protoreflect.FileDescriptor

Functions

func RegisterAccountRpcServer

func RegisterAccountRpcServer(s grpc.ServiceRegistrar, srv AccountRpcServer)

Types

type AccountRpcClient

type AccountRpcClient interface {
	// 登录
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error)
	// 登出
	Logout(ctx context.Context, in *LogoutReq, opts ...grpc.CallOption) (*LogoutResp, error)
	// 注销
	Logoff(ctx context.Context, in *LogoffReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// 注册
	Register(ctx context.Context, in *RegisterReq, opts ...grpc.CallOption) (*LoginResp, error)
	// 重置密码
	ResetPassword(ctx context.Context, in *ResetPasswordReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// 修改用户邮箱
	BindUserEmail(ctx context.Context, in *BindUserEmailReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// 发送注册邮件
	SendRegisterEmail(ctx context.Context, in *UserEmailReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// 发送重置密码邮件
	SendResetPasswordEmail(ctx context.Context, in *UserEmailReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// 发送绑定邮箱邮件
	SendBindEmail(ctx context.Context, in *UserEmailReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// 第三方登录
	OauthLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*LoginResp, error)
	// 获取第三方登录授权地址
	GetOauthAuthorizeUrl(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*OauthLoginUrlResp, error)
	// 获取用户信息
	GetUserInfo(ctx context.Context, in *UserIdReq, opts ...grpc.CallOption) (*UserInfoResp, error)
	// 修改用户信息
	UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// 修改用户状态
	UpdateUserStatus(ctx context.Context, in *UpdateUserStatusReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// 查找用户列表
	FindUserList(ctx context.Context, in *FindUserListReq, opts ...grpc.CallOption) (*FindUserListResp, error)
	// 查找在线用户列表
	FindUserOnlineList(ctx context.Context, in *FindUserListReq, opts ...grpc.CallOption) (*FindUserInfoListResp, error)
	// 查找用户信息列表
	FindUserInfoList(ctx context.Context, in *FindUserListReq, opts ...grpc.CallOption) (*FindUserInfoListResp, error)
	// 查询用户登录历史
	FindUserLoginHistoryList(ctx context.Context, in *FindLoginHistoryListReq, opts ...grpc.CallOption) (*FindLoginHistoryListResp, error)
	// 查询用户分布区域
	GetUserAreasAnalysis(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*GetUserAreasAnalysisResp, error)
}

AccountRpcClient is the client API for AccountRpc 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 NewAccountRpcClient

func NewAccountRpcClient(cc grpc.ClientConnInterface) AccountRpcClient

type AccountRpcServer

type AccountRpcServer interface {
	// 登录
	Login(context.Context, *LoginReq) (*LoginResp, error)
	// 登出
	Logout(context.Context, *LogoutReq) (*LogoutResp, error)
	// 注销
	Logoff(context.Context, *LogoffReq) (*EmptyResp, error)
	// 注册
	Register(context.Context, *RegisterReq) (*LoginResp, error)
	// 重置密码
	ResetPassword(context.Context, *ResetPasswordReq) (*EmptyResp, error)
	// 修改用户邮箱
	BindUserEmail(context.Context, *BindUserEmailReq) (*EmptyResp, error)
	// 发送注册邮件
	SendRegisterEmail(context.Context, *UserEmailReq) (*EmptyResp, error)
	// 发送重置密码邮件
	SendResetPasswordEmail(context.Context, *UserEmailReq) (*EmptyResp, error)
	// 发送绑定邮箱邮件
	SendBindEmail(context.Context, *UserEmailReq) (*EmptyResp, error)
	// 第三方登录
	OauthLogin(context.Context, *OauthLoginReq) (*LoginResp, error)
	// 获取第三方登录授权地址
	GetOauthAuthorizeUrl(context.Context, *OauthLoginReq) (*OauthLoginUrlResp, error)
	// 获取用户信息
	GetUserInfo(context.Context, *UserIdReq) (*UserInfoResp, error)
	// 修改用户信息
	UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*EmptyResp, error)
	// 修改用户状态
	UpdateUserStatus(context.Context, *UpdateUserStatusReq) (*EmptyResp, error)
	// 查找用户列表
	FindUserList(context.Context, *FindUserListReq) (*FindUserListResp, error)
	// 查找在线用户列表
	FindUserOnlineList(context.Context, *FindUserListReq) (*FindUserInfoListResp, error)
	// 查找用户信息列表
	FindUserInfoList(context.Context, *FindUserListReq) (*FindUserInfoListResp, error)
	// 查询用户登录历史
	FindUserLoginHistoryList(context.Context, *FindLoginHistoryListReq) (*FindLoginHistoryListResp, error)
	// 查询用户分布区域
	GetUserAreasAnalysis(context.Context, *EmptyReq) (*GetUserAreasAnalysisResp, error)
	// contains filtered or unexported methods
}

AccountRpcServer is the server API for AccountRpc service. All implementations must embed UnimplementedAccountRpcServer for forward compatibility

type BatchResp

type BatchResp struct {
	SuccessCount int64 `protobuf:"varint,1,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchResp) Descriptor deprecated

func (*BatchResp) Descriptor() ([]byte, []int)

Deprecated: Use BatchResp.ProtoReflect.Descriptor instead.

func (*BatchResp) GetSuccessCount

func (x *BatchResp) GetSuccessCount() int64

func (*BatchResp) ProtoMessage

func (*BatchResp) ProtoMessage()

func (*BatchResp) ProtoReflect

func (x *BatchResp) ProtoReflect() protoreflect.Message

func (*BatchResp) Reset

func (x *BatchResp) Reset()

func (*BatchResp) String

func (x *BatchResp) String() string

type BindUserEmailReq

type BindUserEmailReq struct {
	UserId     string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email      string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	VerifyCode string `protobuf:"bytes,3,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"`
	// contains filtered or unexported fields
}

func (*BindUserEmailReq) Descriptor deprecated

func (*BindUserEmailReq) Descriptor() ([]byte, []int)

Deprecated: Use BindUserEmailReq.ProtoReflect.Descriptor instead.

func (*BindUserEmailReq) GetEmail

func (x *BindUserEmailReq) GetEmail() string

func (*BindUserEmailReq) GetUserId

func (x *BindUserEmailReq) GetUserId() string

func (*BindUserEmailReq) GetVerifyCode

func (x *BindUserEmailReq) GetVerifyCode() string

func (*BindUserEmailReq) ProtoMessage

func (*BindUserEmailReq) ProtoMessage()

func (*BindUserEmailReq) ProtoReflect

func (x *BindUserEmailReq) ProtoReflect() protoreflect.Message

func (*BindUserEmailReq) Reset

func (x *BindUserEmailReq) Reset()

func (*BindUserEmailReq) String

func (x *BindUserEmailReq) String() string

type EmptyReq

type EmptyReq struct {
	// contains filtered or unexported fields
}

func (*EmptyReq) Descriptor deprecated

func (*EmptyReq) Descriptor() ([]byte, []int)

Deprecated: Use EmptyReq.ProtoReflect.Descriptor instead.

func (*EmptyReq) ProtoMessage

func (*EmptyReq) ProtoMessage()

func (*EmptyReq) ProtoReflect

func (x *EmptyReq) ProtoReflect() protoreflect.Message

func (*EmptyReq) Reset

func (x *EmptyReq) Reset()

func (*EmptyReq) String

func (x *EmptyReq) String() string

type EmptyResp

type EmptyResp struct {
	// contains filtered or unexported fields
}

func (*EmptyResp) Descriptor deprecated

func (*EmptyResp) Descriptor() ([]byte, []int)

Deprecated: Use EmptyResp.ProtoReflect.Descriptor instead.

func (*EmptyResp) ProtoMessage

func (*EmptyResp) ProtoMessage()

func (*EmptyResp) ProtoReflect

func (x *EmptyResp) ProtoReflect() protoreflect.Message

func (*EmptyResp) Reset

func (x *EmptyResp) Reset()

func (*EmptyResp) String

func (x *EmptyResp) String() string

type FindLoginHistoryListReq

type FindLoginHistoryListReq struct {
	Page     int64    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int64    `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Sorts    []string `protobuf:"bytes,3,rep,name=sorts,proto3" json:"sorts,omitempty"`                 // 排序
	UserId   string   `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	// contains filtered or unexported fields
}

func (*FindLoginHistoryListReq) Descriptor deprecated

func (*FindLoginHistoryListReq) Descriptor() ([]byte, []int)

Deprecated: Use FindLoginHistoryListReq.ProtoReflect.Descriptor instead.

func (*FindLoginHistoryListReq) GetPage

func (x *FindLoginHistoryListReq) GetPage() int64

func (*FindLoginHistoryListReq) GetPageSize

func (x *FindLoginHistoryListReq) GetPageSize() int64

func (*FindLoginHistoryListReq) GetSorts

func (x *FindLoginHistoryListReq) GetSorts() []string

func (*FindLoginHistoryListReq) GetUserId

func (x *FindLoginHistoryListReq) GetUserId() string

func (*FindLoginHistoryListReq) ProtoMessage

func (*FindLoginHistoryListReq) ProtoMessage()

func (*FindLoginHistoryListReq) ProtoReflect

func (x *FindLoginHistoryListReq) ProtoReflect() protoreflect.Message

func (*FindLoginHistoryListReq) Reset

func (x *FindLoginHistoryListReq) Reset()

func (*FindLoginHistoryListReq) String

func (x *FindLoginHistoryListReq) String() string

type FindLoginHistoryListResp

type FindLoginHistoryListResp struct {
	Total int64               `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*UserLoginHistory `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*FindLoginHistoryListResp) Descriptor deprecated

func (*FindLoginHistoryListResp) Descriptor() ([]byte, []int)

Deprecated: Use FindLoginHistoryListResp.ProtoReflect.Descriptor instead.

func (*FindLoginHistoryListResp) GetList

func (*FindLoginHistoryListResp) GetTotal

func (x *FindLoginHistoryListResp) GetTotal() int64

func (*FindLoginHistoryListResp) ProtoMessage

func (*FindLoginHistoryListResp) ProtoMessage()

func (*FindLoginHistoryListResp) ProtoReflect

func (x *FindLoginHistoryListResp) ProtoReflect() protoreflect.Message

func (*FindLoginHistoryListResp) Reset

func (x *FindLoginHistoryListResp) Reset()

func (*FindLoginHistoryListResp) String

func (x *FindLoginHistoryListResp) String() string

type FindUserInfoListResp

type FindUserInfoListResp struct {
	List  []*UserInfoResp `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64           `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserInfoListResp) Descriptor deprecated

func (*FindUserInfoListResp) Descriptor() ([]byte, []int)

Deprecated: Use FindUserInfoListResp.ProtoReflect.Descriptor instead.

func (*FindUserInfoListResp) GetList

func (x *FindUserInfoListResp) GetList() []*UserInfoResp

func (*FindUserInfoListResp) GetTotal

func (x *FindUserInfoListResp) GetTotal() int64

func (*FindUserInfoListResp) ProtoMessage

func (*FindUserInfoListResp) ProtoMessage()

func (*FindUserInfoListResp) ProtoReflect

func (x *FindUserInfoListResp) ProtoReflect() protoreflect.Message

func (*FindUserInfoListResp) Reset

func (x *FindUserInfoListResp) Reset()

func (*FindUserInfoListResp) String

func (x *FindUserInfoListResp) String() string

type FindUserListReq

type FindUserListReq struct {
	Page     int64    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int64    `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Sorts    []string `protobuf:"bytes,3,rep,name=sorts,proto3" json:"sorts,omitempty"` // 排序
	Username string   `protobuf:"bytes,13,opt,name=username,proto3" json:"username,omitempty"`
	Nickname string   `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Email    string   `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Phone    string   `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`
	Status   int64    `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
	UserIds  []string `protobuf:"bytes,8,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserListReq) Descriptor deprecated

func (*FindUserListReq) Descriptor() ([]byte, []int)

Deprecated: Use FindUserListReq.ProtoReflect.Descriptor instead.

func (*FindUserListReq) GetEmail

func (x *FindUserListReq) GetEmail() string

func (*FindUserListReq) GetNickname

func (x *FindUserListReq) GetNickname() string

func (*FindUserListReq) GetPage

func (x *FindUserListReq) GetPage() int64

func (*FindUserListReq) GetPageSize

func (x *FindUserListReq) GetPageSize() int64

func (*FindUserListReq) GetPhone

func (x *FindUserListReq) GetPhone() string

func (*FindUserListReq) GetSorts

func (x *FindUserListReq) GetSorts() []string

func (*FindUserListReq) GetStatus

func (x *FindUserListReq) GetStatus() int64

func (*FindUserListReq) GetUserIds

func (x *FindUserListReq) GetUserIds() []string

func (*FindUserListReq) GetUsername

func (x *FindUserListReq) GetUsername() string

func (*FindUserListReq) ProtoMessage

func (*FindUserListReq) ProtoMessage()

func (*FindUserListReq) ProtoReflect

func (x *FindUserListReq) ProtoReflect() protoreflect.Message

func (*FindUserListReq) Reset

func (x *FindUserListReq) Reset()

func (*FindUserListReq) String

func (x *FindUserListReq) String() string

type FindUserListResp

type FindUserListResp struct {
	List  []*User `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64   `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserListResp) Descriptor deprecated

func (*FindUserListResp) Descriptor() ([]byte, []int)

Deprecated: Use FindUserListResp.ProtoReflect.Descriptor instead.

func (*FindUserListResp) GetList

func (x *FindUserListResp) GetList() []*User

func (*FindUserListResp) GetTotal

func (x *FindUserListResp) GetTotal() int64

func (*FindUserListResp) ProtoMessage

func (*FindUserListResp) ProtoMessage()

func (*FindUserListResp) ProtoReflect

func (x *FindUserListResp) ProtoReflect() protoreflect.Message

func (*FindUserListResp) Reset

func (x *FindUserListResp) Reset()

func (*FindUserListResp) String

func (x *FindUserListResp) String() string

type GetUserAreasAnalysisResp

type GetUserAreasAnalysisResp struct {
	List []*UserRegion `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserAreasAnalysisResp) Descriptor deprecated

func (*GetUserAreasAnalysisResp) Descriptor() ([]byte, []int)

Deprecated: Use GetUserAreasAnalysisResp.ProtoReflect.Descriptor instead.

func (*GetUserAreasAnalysisResp) GetList

func (x *GetUserAreasAnalysisResp) GetList() []*UserRegion

func (*GetUserAreasAnalysisResp) ProtoMessage

func (*GetUserAreasAnalysisResp) ProtoMessage()

func (*GetUserAreasAnalysisResp) ProtoReflect

func (x *GetUserAreasAnalysisResp) ProtoReflect() protoreflect.Message

func (*GetUserAreasAnalysisResp) Reset

func (x *GetUserAreasAnalysisResp) Reset()

func (*GetUserAreasAnalysisResp) String

func (x *GetUserAreasAnalysisResp) String() string

type IdReq

type IdReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IdReq) Descriptor deprecated

func (*IdReq) Descriptor() ([]byte, []int)

Deprecated: Use IdReq.ProtoReflect.Descriptor instead.

func (*IdReq) GetId

func (x *IdReq) GetId() int64

func (*IdReq) ProtoMessage

func (*IdReq) ProtoMessage()

func (*IdReq) ProtoReflect

func (x *IdReq) ProtoReflect() protoreflect.Message

func (*IdReq) Reset

func (x *IdReq) Reset()

func (*IdReq) String

func (x *IdReq) String() string

type IdsReq

type IdsReq struct {
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*IdsReq) Descriptor deprecated

func (*IdsReq) Descriptor() ([]byte, []int)

Deprecated: Use IdsReq.ProtoReflect.Descriptor instead.

func (*IdsReq) GetIds

func (x *IdsReq) GetIds() []int64

func (*IdsReq) ProtoMessage

func (*IdsReq) ProtoMessage()

func (*IdsReq) ProtoReflect

func (x *IdsReq) ProtoReflect() protoreflect.Message

func (*IdsReq) Reset

func (x *IdsReq) Reset()

func (*IdsReq) String

func (x *IdsReq) String() string

type LoginReq

type LoginReq struct {
	Username   string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password   string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	VerifyCode string `protobuf:"bytes,3,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"`
	// contains filtered or unexported fields
}

************* auth 登录相关 *************

func (*LoginReq) Descriptor deprecated

func (*LoginReq) Descriptor() ([]byte, []int)

Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.

func (*LoginReq) GetPassword

func (x *LoginReq) GetPassword() string

func (*LoginReq) GetUsername

func (x *LoginReq) GetUsername() string

func (*LoginReq) GetVerifyCode

func (x *LoginReq) GetVerifyCode() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) ProtoReflect

func (x *LoginReq) ProtoReflect() protoreflect.Message

func (*LoginReq) Reset

func (x *LoginReq) Reset()

func (*LoginReq) String

func (x *LoginReq) String() string

type LoginResp

type LoginResp struct {
	UserId    string           `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	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"`               // 用户头像
	Email     string           `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`                 // 用户邮箱
	Phone     string           `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`                 // 用户手机号
	Info      string           `protobuf:"bytes,7,opt,name=info,proto3" json:"info,omitempty"`                   // 用户信息
	LoginType string           `protobuf:"bytes,9,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"`
	IpAddress string           `protobuf:"bytes,10,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // ip host
	IpSource  string           `protobuf:"bytes,11,opt,name=ip_source,json=ipSource,proto3" json:"ip_source,omitempty"`    // ip 源
	Roles     []*UserRoleLabel `protobuf:"bytes,16,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResp) Descriptor deprecated

func (*LoginResp) Descriptor() ([]byte, []int)

Deprecated: Use LoginResp.ProtoReflect.Descriptor instead.

func (*LoginResp) GetAvatar

func (x *LoginResp) GetAvatar() string

func (*LoginResp) GetEmail

func (x *LoginResp) GetEmail() string

func (*LoginResp) GetInfo

func (x *LoginResp) GetInfo() string

func (*LoginResp) GetIpAddress

func (x *LoginResp) GetIpAddress() string

func (*LoginResp) GetIpSource

func (x *LoginResp) GetIpSource() string

func (*LoginResp) GetLoginType

func (x *LoginResp) GetLoginType() string

func (*LoginResp) GetNickname

func (x *LoginResp) GetNickname() string

func (*LoginResp) GetPhone

func (x *LoginResp) GetPhone() string

func (*LoginResp) GetRoles

func (x *LoginResp) GetRoles() []*UserRoleLabel

func (*LoginResp) GetUserId

func (x *LoginResp) GetUserId() string

func (*LoginResp) GetUsername

func (x *LoginResp) GetUsername() string

func (*LoginResp) ProtoMessage

func (*LoginResp) ProtoMessage()

func (*LoginResp) ProtoReflect

func (x *LoginResp) ProtoReflect() protoreflect.Message

func (*LoginResp) Reset

func (x *LoginResp) Reset()

func (*LoginResp) String

func (x *LoginResp) String() string

type LogoffReq

type LogoffReq struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	// contains filtered or unexported fields
}

func (*LogoffReq) Descriptor deprecated

func (*LogoffReq) Descriptor() ([]byte, []int)

Deprecated: Use LogoffReq.ProtoReflect.Descriptor instead.

func (*LogoffReq) GetUserId

func (x *LogoffReq) GetUserId() string

func (*LogoffReq) ProtoMessage

func (*LogoffReq) ProtoMessage()

func (*LogoffReq) ProtoReflect

func (x *LogoffReq) ProtoReflect() protoreflect.Message

func (*LogoffReq) Reset

func (x *LogoffReq) Reset()

func (*LogoffReq) String

func (x *LogoffReq) String() string

type LogoutReq

type LogoutReq struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	// contains filtered or unexported fields
}

func (*LogoutReq) Descriptor deprecated

func (*LogoutReq) Descriptor() ([]byte, []int)

Deprecated: Use LogoutReq.ProtoReflect.Descriptor instead.

func (*LogoutReq) GetUserId

func (x *LogoutReq) GetUserId() string

func (*LogoutReq) ProtoMessage

func (*LogoutReq) ProtoMessage()

func (*LogoutReq) ProtoReflect

func (x *LogoutReq) ProtoReflect() protoreflect.Message

func (*LogoutReq) Reset

func (x *LogoutReq) Reset()

func (*LogoutReq) String

func (x *LogoutReq) String() string

type LogoutResp

type LogoutResp struct {
	UserId   string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	LogoutAt int64  `protobuf:"varint,2,opt,name=logout_at,json=logoutAt,proto3" json:"logout_at,omitempty"`
	// contains filtered or unexported fields
}

func (*LogoutResp) Descriptor deprecated

func (*LogoutResp) Descriptor() ([]byte, []int)

Deprecated: Use LogoutResp.ProtoReflect.Descriptor instead.

func (*LogoutResp) GetLogoutAt

func (x *LogoutResp) GetLogoutAt() int64

func (*LogoutResp) GetUserId

func (x *LogoutResp) GetUserId() string

func (*LogoutResp) ProtoMessage

func (*LogoutResp) ProtoMessage()

func (*LogoutResp) ProtoReflect

func (x *LogoutResp) ProtoReflect() protoreflect.Message

func (*LogoutResp) Reset

func (x *LogoutResp) Reset()

func (*LogoutResp) String

func (x *LogoutResp) String() string

type OauthLoginReq

type OauthLoginReq struct {
	Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` // 平台
	Code     string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`         // 授权码
	State    string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`       // 状态
	// contains filtered or unexported fields
}

func (*OauthLoginReq) Descriptor deprecated

func (*OauthLoginReq) Descriptor() ([]byte, []int)

Deprecated: Use OauthLoginReq.ProtoReflect.Descriptor instead.

func (*OauthLoginReq) GetCode

func (x *OauthLoginReq) GetCode() string

func (*OauthLoginReq) GetPlatform

func (x *OauthLoginReq) GetPlatform() string

func (*OauthLoginReq) GetState

func (x *OauthLoginReq) GetState() string

func (*OauthLoginReq) ProtoMessage

func (*OauthLoginReq) ProtoMessage()

func (*OauthLoginReq) ProtoReflect

func (x *OauthLoginReq) ProtoReflect() protoreflect.Message

func (*OauthLoginReq) Reset

func (x *OauthLoginReq) Reset()

func (*OauthLoginReq) String

func (x *OauthLoginReq) String() string

type OauthLoginUrlResp

type OauthLoginUrlResp struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // 授权地址
	// contains filtered or unexported fields
}

func (*OauthLoginUrlResp) Descriptor deprecated

func (*OauthLoginUrlResp) Descriptor() ([]byte, []int)

Deprecated: Use OauthLoginUrlResp.ProtoReflect.Descriptor instead.

func (*OauthLoginUrlResp) GetUrl

func (x *OauthLoginUrlResp) GetUrl() string

func (*OauthLoginUrlResp) ProtoMessage

func (*OauthLoginUrlResp) ProtoMessage()

func (*OauthLoginUrlResp) ProtoReflect

func (x *OauthLoginUrlResp) ProtoReflect() protoreflect.Message

func (*OauthLoginUrlResp) Reset

func (x *OauthLoginUrlResp) Reset()

func (*OauthLoginUrlResp) String

func (x *OauthLoginUrlResp) String() string

type RegisterReq

type RegisterReq struct {
	Username   string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password   string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	VerifyCode string `protobuf:"bytes,3,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterReq) Descriptor deprecated

func (*RegisterReq) Descriptor() ([]byte, []int)

Deprecated: Use RegisterReq.ProtoReflect.Descriptor instead.

func (*RegisterReq) GetPassword

func (x *RegisterReq) GetPassword() string

func (*RegisterReq) GetUsername

func (x *RegisterReq) GetUsername() string

func (*RegisterReq) GetVerifyCode

func (x *RegisterReq) GetVerifyCode() string

func (*RegisterReq) ProtoMessage

func (*RegisterReq) ProtoMessage()

func (*RegisterReq) ProtoReflect

func (x *RegisterReq) ProtoReflect() protoreflect.Message

func (*RegisterReq) Reset

func (x *RegisterReq) Reset()

func (*RegisterReq) String

func (x *RegisterReq) String() string

type ResetPasswordReq

type ResetPasswordReq struct {
	Username   string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password   string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	VerifyCode string `protobuf:"bytes,3,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordReq) Descriptor deprecated

func (*ResetPasswordReq) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordReq.ProtoReflect.Descriptor instead.

func (*ResetPasswordReq) GetPassword

func (x *ResetPasswordReq) GetPassword() string

func (*ResetPasswordReq) GetUsername

func (x *ResetPasswordReq) GetUsername() string

func (*ResetPasswordReq) GetVerifyCode

func (x *ResetPasswordReq) GetVerifyCode() string

func (*ResetPasswordReq) ProtoMessage

func (*ResetPasswordReq) ProtoMessage()

func (*ResetPasswordReq) ProtoReflect

func (x *ResetPasswordReq) ProtoReflect() protoreflect.Message

func (*ResetPasswordReq) Reset

func (x *ResetPasswordReq) Reset()

func (*ResetPasswordReq) String

func (x *ResetPasswordReq) String() string

type UnimplementedAccountRpcServer

type UnimplementedAccountRpcServer struct {
}

UnimplementedAccountRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedAccountRpcServer) BindUserEmail

func (UnimplementedAccountRpcServer) FindUserInfoList

func (UnimplementedAccountRpcServer) FindUserList

func (UnimplementedAccountRpcServer) FindUserLoginHistoryList

func (UnimplementedAccountRpcServer) FindUserOnlineList

func (UnimplementedAccountRpcServer) GetOauthAuthorizeUrl

func (UnimplementedAccountRpcServer) GetUserAreasAnalysis

func (UnimplementedAccountRpcServer) GetUserInfo

func (UnimplementedAccountRpcServer) Login

func (UnimplementedAccountRpcServer) Logoff

func (UnimplementedAccountRpcServer) Logout

func (UnimplementedAccountRpcServer) OauthLogin

func (UnimplementedAccountRpcServer) Register

func (UnimplementedAccountRpcServer) ResetPassword

func (UnimplementedAccountRpcServer) SendBindEmail

func (UnimplementedAccountRpcServer) SendRegisterEmail

func (UnimplementedAccountRpcServer) SendResetPasswordEmail

func (UnimplementedAccountRpcServer) UpdateUserInfo

func (UnimplementedAccountRpcServer) UpdateUserStatus

type UnsafeAccountRpcServer

type UnsafeAccountRpcServer interface {
	// contains filtered or unexported methods
}

UnsafeAccountRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountRpcServer will result in compilation errors.

type UpdateUserInfoReq

type UpdateUserInfoReq struct {
	UserId   string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`           // 昵称
	Avatar   string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`               // 头像
	Info     string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`                   // 用户信息
	// contains filtered or unexported fields
}

func (*UpdateUserInfoReq) Descriptor deprecated

func (*UpdateUserInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserInfoReq.ProtoReflect.Descriptor instead.

func (*UpdateUserInfoReq) GetAvatar

func (x *UpdateUserInfoReq) GetAvatar() string

func (*UpdateUserInfoReq) GetInfo

func (x *UpdateUserInfoReq) GetInfo() string

func (*UpdateUserInfoReq) GetNickname

func (x *UpdateUserInfoReq) GetNickname() string

func (*UpdateUserInfoReq) GetUserId

func (x *UpdateUserInfoReq) GetUserId() string

func (*UpdateUserInfoReq) ProtoMessage

func (*UpdateUserInfoReq) ProtoMessage()

func (*UpdateUserInfoReq) ProtoReflect

func (x *UpdateUserInfoReq) ProtoReflect() protoreflect.Message

func (*UpdateUserInfoReq) Reset

func (x *UpdateUserInfoReq) Reset()

func (*UpdateUserInfoReq) String

func (x *UpdateUserInfoReq) String() string

type UpdateUserStatusReq

type UpdateUserStatusReq struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	Status int64  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserStatusReq) Descriptor deprecated

func (*UpdateUserStatusReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserStatusReq.ProtoReflect.Descriptor instead.

func (*UpdateUserStatusReq) GetStatus

func (x *UpdateUserStatusReq) GetStatus() int64

func (*UpdateUserStatusReq) GetUserId

func (x *UpdateUserStatusReq) GetUserId() string

func (*UpdateUserStatusReq) ProtoMessage

func (*UpdateUserStatusReq) ProtoMessage()

func (*UpdateUserStatusReq) ProtoReflect

func (x *UpdateUserStatusReq) ProtoReflect() protoreflect.Message

func (*UpdateUserStatusReq) Reset

func (x *UpdateUserStatusReq) Reset()

func (*UpdateUserStatusReq) String

func (x *UpdateUserStatusReq) String() string

type User

type User struct {
	UserId    string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	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"`               // 用户头像
	Email     string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`                 // 用户邮箱
	Phone     string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`                 // 用户手机号
	Info      string `protobuf:"bytes,7,opt,name=info,proto3" json:"info,omitempty"`                   // 用户信息
	Status    int64  `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
	LoginType string `protobuf:"bytes,9,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"`
	IpAddress string `protobuf:"bytes,10,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // ip host
	IpSource  string `protobuf:"bytes,11,opt,name=ip_source,json=ipSource,proto3" json:"ip_source,omitempty"`    // ip 源
	CreatedAt int64  `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt int64  `protobuf:"varint,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() int64

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetInfo

func (x *User) GetInfo() string

func (*User) GetIpAddress

func (x *User) GetIpAddress() string

func (*User) GetIpSource

func (x *User) GetIpSource() string

func (*User) GetLoginType

func (x *User) GetLoginType() string

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetPhone

func (x *User) GetPhone() string

func (*User) GetStatus

func (x *User) GetStatus() int64

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() int64

func (*User) GetUserId

func (x *User) GetUserId() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserEmailReq

type UserEmailReq struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*UserEmailReq) Descriptor deprecated

func (*UserEmailReq) Descriptor() ([]byte, []int)

Deprecated: Use UserEmailReq.ProtoReflect.Descriptor instead.

func (*UserEmailReq) GetUsername

func (x *UserEmailReq) GetUsername() string

func (*UserEmailReq) ProtoMessage

func (*UserEmailReq) ProtoMessage()

func (*UserEmailReq) ProtoReflect

func (x *UserEmailReq) ProtoReflect() protoreflect.Message

func (*UserEmailReq) Reset

func (x *UserEmailReq) Reset()

func (*UserEmailReq) String

func (x *UserEmailReq) String() string

type UserIdReq

type UserIdReq struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserIdReq) Descriptor deprecated

func (*UserIdReq) Descriptor() ([]byte, []int)

Deprecated: Use UserIdReq.ProtoReflect.Descriptor instead.

func (*UserIdReq) GetUserId

func (x *UserIdReq) GetUserId() string

func (*UserIdReq) ProtoMessage

func (*UserIdReq) ProtoMessage()

func (*UserIdReq) ProtoReflect

func (x *UserIdReq) ProtoReflect() protoreflect.Message

func (*UserIdReq) Reset

func (x *UserIdReq) Reset()

func (*UserIdReq) String

func (x *UserIdReq) String() string

type UserInfoResp

type UserInfoResp struct {
	UserId    string           `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	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"`               // 用户头像
	Email     string           `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`                 // 用户邮箱
	Phone     string           `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`                 // 用户手机号
	Info      string           `protobuf:"bytes,7,opt,name=info,proto3" json:"info,omitempty"`                   // 用户信息
	Status    int64            `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
	LoginType string           `protobuf:"bytes,9,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"`
	IpAddress string           `protobuf:"bytes,10,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // ip host
	IpSource  string           `protobuf:"bytes,11,opt,name=ip_source,json=ipSource,proto3" json:"ip_source,omitempty"`    // ip 源
	CreatedAt int64            `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt int64            `protobuf:"varint,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Roles     []*UserRoleLabel `protobuf:"bytes,16,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInfoResp) Descriptor deprecated

func (*UserInfoResp) Descriptor() ([]byte, []int)

Deprecated: Use UserInfoResp.ProtoReflect.Descriptor instead.

func (*UserInfoResp) GetAvatar

func (x *UserInfoResp) GetAvatar() string

func (*UserInfoResp) GetCreatedAt

func (x *UserInfoResp) GetCreatedAt() int64

func (*UserInfoResp) GetEmail

func (x *UserInfoResp) GetEmail() string

func (*UserInfoResp) GetInfo

func (x *UserInfoResp) GetInfo() string

func (*UserInfoResp) GetIpAddress

func (x *UserInfoResp) GetIpAddress() string

func (*UserInfoResp) GetIpSource

func (x *UserInfoResp) GetIpSource() string

func (*UserInfoResp) GetLoginType

func (x *UserInfoResp) GetLoginType() string

func (*UserInfoResp) GetNickname

func (x *UserInfoResp) GetNickname() string

func (*UserInfoResp) GetPhone

func (x *UserInfoResp) GetPhone() string

func (*UserInfoResp) GetRoles

func (x *UserInfoResp) GetRoles() []*UserRoleLabel

func (*UserInfoResp) GetStatus

func (x *UserInfoResp) GetStatus() int64

func (*UserInfoResp) GetUpdatedAt

func (x *UserInfoResp) GetUpdatedAt() int64

func (*UserInfoResp) GetUserId

func (x *UserInfoResp) GetUserId() string

func (*UserInfoResp) GetUsername

func (x *UserInfoResp) GetUsername() string

func (*UserInfoResp) ProtoMessage

func (*UserInfoResp) ProtoMessage()

func (*UserInfoResp) ProtoReflect

func (x *UserInfoResp) ProtoReflect() protoreflect.Message

func (*UserInfoResp) Reset

func (x *UserInfoResp) Reset()

func (*UserInfoResp) String

func (x *UserInfoResp) String() string

type UserLoginHistory

type UserLoginHistory struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId    string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`          // 用户id
	LoginType string `protobuf:"bytes,3,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"` // 登录类型
	Agent     string `protobuf:"bytes,4,opt,name=agent,proto3" json:"agent,omitempty"`                          // 代理
	IpAddress string `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // ip host
	IpSource  string `protobuf:"bytes,6,opt,name=ip_source,json=ipSource,proto3" json:"ip_source,omitempty"`    // ip 源
	LoginAt   int64  `protobuf:"varint,7,opt,name=login_at,json=loginAt,proto3" json:"login_at,omitempty"`      // 登录时间
	LogoutAt  int64  `protobuf:"varint,8,opt,name=logout_at,json=logoutAt,proto3" json:"logout_at,omitempty"`   // 登出时间
	// contains filtered or unexported fields
}

func (*UserLoginHistory) Descriptor deprecated

func (*UserLoginHistory) Descriptor() ([]byte, []int)

Deprecated: Use UserLoginHistory.ProtoReflect.Descriptor instead.

func (*UserLoginHistory) GetAgent

func (x *UserLoginHistory) GetAgent() string

func (*UserLoginHistory) GetId

func (x *UserLoginHistory) GetId() int64

func (*UserLoginHistory) GetIpAddress

func (x *UserLoginHistory) GetIpAddress() string

func (*UserLoginHistory) GetIpSource

func (x *UserLoginHistory) GetIpSource() string

func (*UserLoginHistory) GetLoginAt

func (x *UserLoginHistory) GetLoginAt() int64

func (*UserLoginHistory) GetLoginType

func (x *UserLoginHistory) GetLoginType() string

func (*UserLoginHistory) GetLogoutAt

func (x *UserLoginHistory) GetLogoutAt() int64

func (*UserLoginHistory) GetUserId

func (x *UserLoginHistory) GetUserId() string

func (*UserLoginHistory) ProtoMessage

func (*UserLoginHistory) ProtoMessage()

func (*UserLoginHistory) ProtoReflect

func (x *UserLoginHistory) ProtoReflect() protoreflect.Message

func (*UserLoginHistory) Reset

func (x *UserLoginHistory) Reset()

func (*UserLoginHistory) String

func (x *UserLoginHistory) String() string

type UserRegion

type UserRegion struct {
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	Count  int64  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRegion) Descriptor deprecated

func (*UserRegion) Descriptor() ([]byte, []int)

Deprecated: Use UserRegion.ProtoReflect.Descriptor instead.

func (*UserRegion) GetCount

func (x *UserRegion) GetCount() int64

func (*UserRegion) GetRegion

func (x *UserRegion) GetRegion() string

func (*UserRegion) ProtoMessage

func (*UserRegion) ProtoMessage()

func (*UserRegion) ProtoReflect

func (x *UserRegion) ProtoReflect() protoreflect.Message

func (*UserRegion) Reset

func (x *UserRegion) Reset()

func (*UserRegion) String

func (x *UserRegion) String() string

type UserRoleLabel

type UserRoleLabel struct {
	RoleId      int64  `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	RoleName    string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
	RoleComment string `protobuf:"bytes,3,opt,name=role_comment,json=roleComment,proto3" json:"role_comment,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRoleLabel) Descriptor deprecated

func (*UserRoleLabel) Descriptor() ([]byte, []int)

Deprecated: Use UserRoleLabel.ProtoReflect.Descriptor instead.

func (*UserRoleLabel) GetRoleComment

func (x *UserRoleLabel) GetRoleComment() string

func (*UserRoleLabel) GetRoleId

func (x *UserRoleLabel) GetRoleId() int64

func (*UserRoleLabel) GetRoleName

func (x *UserRoleLabel) GetRoleName() string

func (*UserRoleLabel) ProtoMessage

func (*UserRoleLabel) ProtoMessage()

func (*UserRoleLabel) ProtoReflect

func (x *UserRoleLabel) ProtoReflect() protoreflect.Message

func (*UserRoleLabel) Reset

func (x *UserRoleLabel) Reset()

func (*UserRoleLabel) String

func (x *UserRoleLabel) String() string

Jump to

Keyboard shortcuts

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