Documentation ¶
Index ¶
- func ConvertUserInfo(ctx context.Context, userId int64, info operation.TUserInfo) (res *user.UserInfo, err error)
- func DataToResp(ctx context.Context, userId int64) (resp *user.RegisterResponse, err error)
- func GetUserInfo(ctx context.Context, request *user.UserInfoRequest) (resp *user.UserInfoResponse, err error)
- func PackRegisterResponse(userId int64, token string, status constant.Status) (response *user.RegisterResponse)
- func PackUserInfoResponse(info *user.UserInfo) (response *user.UserInfoResponse)
- func ReqToTUser(req *user.RegisterRequest) (info *operation.TUserInfo)
- func VerifyUserInfo(ctx context.Context, request *user.LoginRequest) (resp *user.LoginResponse, err error)
- func WriteUserInfo(ctx context.Context, request *user.RegisterRequest) (resp *user.RegisterResponse, err error)
- func WriteUserInfoHandler(ctx context.Context, request *user.RegisterRequest) (resp *user.RegisterResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertUserInfo ¶
func DataToResp ¶
func GetUserInfo ¶
func GetUserInfo(ctx context.Context, request *user.UserInfoRequest) (resp *user.UserInfoResponse, err error)
func PackRegisterResponse ¶
func PackUserInfoResponse ¶
func PackUserInfoResponse(info *user.UserInfo) (response *user.UserInfoResponse)
func ReqToTUser ¶
func ReqToTUser(req *user.RegisterRequest) (info *operation.TUserInfo)
func VerifyUserInfo ¶
func VerifyUserInfo(ctx context.Context, request *user.LoginRequest) (resp *user.LoginResponse, err error)
func WriteUserInfo ¶
func WriteUserInfo(ctx context.Context, request *user.RegisterRequest) (resp *user.RegisterResponse, err error)
func WriteUserInfoHandler ¶
func WriteUserInfoHandler(ctx context.Context, request *user.RegisterRequest) (resp *user.RegisterResponse, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.