types

package
v0.0.0-...-efd9455 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Code generated by goctl. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgreeFriendReq

type AgreeFriendReq struct {
	ApplyId string `json:"applyId"`
}

type AgreeFriendResp

type AgreeFriendResp struct {
}

type ApplyFriendReq

type ApplyFriendReq struct {
	UserId  string `json:"userId"`
	Message string `json:"message"`
}

type ApplyFriendResp

type ApplyFriendResp struct {
}

type BlackUserReq

type BlackUserReq struct {
	UserId string `json:"userId"`
}

type BlackUserResp

type BlackUserResp struct {
}

type DeleteFriendReq

type DeleteFriendReq struct {
	FriendId string `json:"friendId"`
}

type DeleteFriendResp

type DeleteFriendResp struct {
}

type GetBlackListReq

type GetBlackListReq struct {
	PageNo   int `form:"pageNo"`
	PageSize int `form:"pageSize"`
}

type GetBlackListResp

type GetBlackListResp struct {
	BlackList []RealtionUser `json:"blackList"`
}

type GetFriendApplyItem

type GetFriendApplyItem struct {
	Id         string `json:"id"`
	Nickname   string `json:"nickname"`
	Sign       string `json:"sign"`
	Avatar     string `json:"avatar"`
	CreateTime string `json:"createTime"`
	Status     int    `json:"status"`
	StatusStr  string `json:"statusStr"`
}

type GetFriendApplyListReq

type GetFriendApplyListReq struct {
	PageNo   int `form:"pageNo"`
	PageSize int `form:"pageSize"`
}

type GetFriendApplyListResp

type GetFriendApplyListResp struct {
	ApplyList []GetFriendApplyItem `json:"applyList"`
}

type GetFriendListReq

type GetFriendListReq struct {
}

type GetFriendListResp

type GetFriendListResp struct {
	FriendList []RealtionUser `json:"friendList"`
}

type GetSelfInfoReq

type GetSelfInfoReq struct {
}

type GetSelfInfoResp

type GetSelfInfoResp struct {
	UserModel UserModel `json:"userModel"`
}

type GetUserByIdReq

type GetUserByIdReq struct {
	Id string `form:"id" binding:"required"`
}

type GetUserByIdResp

type GetUserByIdResp struct {
	UserModel UserModel `json:"userModel"`
}

type GetUserByUsernameReq

type GetUserByUsernameReq struct {
	Username string `form:"username" binding:"required"`
}

type GetUserByUsernameResp

type GetUserByUsernameResp struct {
	UserModel UserModel `json:"userModel"`
}

type IsUsernameExistReq

type IsUsernameExistReq struct {
	Username string `form:"username"`
}

type IsUsernameExistResp

type IsUsernameExistResp struct {
	Exist bool `json:"exist"`
}

type LoginReq

type LoginReq struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type LoginResp

type LoginResp struct {
	UserModel UserModel `json:"userModel"`
	Token     string    `json:"token"`
}

type ModifySelfInfoReq

type ModifySelfInfoReq struct {
	Nickname string `json:"nickname"`
	Sign     string `json:"sign"`
	Avatar   string `json:"avatar"`
	Province string `json:"province"`
	City     string `json:"city"`
	District string `json:"district"`
	Birthday string `json:"birthday"`
	IsMale   bool   `json:"isMale"`
}

type ModifySelfInfoResp

type ModifySelfInfoResp struct {
	ErrCode int    `json:"errCode"`
	ErrMsg  string `json:"errMsg"`
}

type RealtionUser

type RealtionUser struct {
	Id         string `json:"id"`
	Nickname   string `json:"nickname"`
	Sign       string `json:"sign"`
	Avatar     string `json:"avatar"`
	CreateTime string `json:"createTime"`
}

type RefuseFriendReq

type RefuseFriendReq struct {
	ApplyId string `json:"applyId"`
}

type RefuseFriendResp

type RefuseFriendResp struct {
}

type RegisterReq

type RegisterReq struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type RegisterResp

type RegisterResp struct {
	UserModel UserModel `json:"userModel"`
	Token     string    `json:"token"`
}

type UnBlackUserReq

type UnBlackUserReq struct {
	UserId string `json:"userId"`
}

type UnBlackUserResp

type UnBlackUserResp struct {
}

type UserModel

type UserModel struct {
	ID           string `json:"id"`
	Username     string `json:"username"`
	Nickname     string `json:"nickname"`
	Sign         string `json:"sign"`
	Avatar       string `json:"avatar"`
	Province     string `json:"province"`
	City         string `json:"city"`
	District     string `json:"district"`
	Birthday     string `json:"birthday"`
	RegisterTime string `json:"registerTime"`
	IsMale       bool   `json:"isMale"`
}

Jump to

Keyboard shortcuts

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