types

package
v0.0.0-...-39337ee Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT 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 AddFriendRequest

type AddFriendRequest struct {
	UserId int64 `json:"user_id"`
}

type AddFriendResponse

type AddFriendResponse struct {
}

type ChatMsg

type ChatMsg struct {
	Id         int64  `json:"id"`
	GroupId    string `json:"groupId"`
	SenderId   int64  `json:"senderId"`
	Type       int64  `json:"type"`
	Content    string `json:"content"`
	Uuid       string `json:"uuid"`
	CreateTime int64  `json:"createTime"`
}

type GroupUserListRequest

type GroupUserListRequest struct {
	GroupId string `json:"groupId"`
}

type GroupUserListResponse

type GroupUserListResponse struct {
	List []int64 `json:"list"`
}

type HandleFriendRequest

type HandleFriendRequest struct {
	GroupId string `json:"groupId"`
	IsAgree bool   `json:"isAgree"`
}

type HandleFriendResponse

type HandleFriendResponse struct {
	GroupId string `json:"groupId"`
}

type MessageGroupInfo

type MessageGroupInfo struct {
	GroupId   string   `json:"groupId"`
	AliasName string   `json:"aliasName"`
	AvatarUrl string   `json:"avatarUrl"`
	LastMsg   *ChatMsg `json:"lastMsg"`
}

type MessageGroupInfoListRequest

type MessageGroupInfoListRequest struct {
}

type MessageGroupInfoListResponse

type MessageGroupInfoListResponse struct {
	List []*MessageGroupInfo `json:"list"`
}

Jump to

Keyboard shortcuts

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