proto

package
v0.0.0-...-cd5db6d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatMsg

type ChatMsg struct {
	RId      int    `json:"rid"`
	NickName string `json:"nickName"`
	Type     int8   `json:"type"` //0世界聊天、1联盟聊天
	Msg      string `json:"msg"`
	Time     int64  `json:"time"`
}

type ChatReq

type ChatReq struct {
	Type int8   `json:"type"` //0世界聊天、1联盟聊天
	Msg  string `json:"msg"`
}

type ExitReq

type ExitReq struct {
	Type int8 `json:"type"` //0世界聊天、1联盟聊天
	Id   int  `json:"id"`
}

type ExitRsp

type ExitRsp struct {
	Type int8 `json:"type"` //0世界聊天、1联盟聊天
	Id   int  `json:"id"`
}

type HistoryReq

type HistoryReq struct {
	Type int8 `json:"type"` //0世界聊天、1联盟聊天
}

type HistoryRsp

type HistoryRsp struct {
	Type int8      `json:"type"` //0世界聊天、1联盟聊天
	Msgs []ChatMsg `json:"msgs"`
}

type JoinReq

type JoinReq struct {
	Type int8 `json:"type"` //0世界聊天、1联盟聊天
	Id   int  `json:"id"`
}

type JoinRsp

type JoinRsp struct {
	Type int8 `json:"type"` //0世界聊天、1联盟聊天
	Id   int  `json:"id"`
}

type LoginReq

type LoginReq struct {
	RId      int    `json:"rid"`
	NickName string `json:"nickName"`
	Token    string `json:"token"`
}

type LoginRsp

type LoginRsp struct {
	RId      int    `json:"rid"`
	NickName string `json:"nickName"`
}

type LogoutReq

type LogoutReq struct {
	RId int `json:"RId"`
}

type LogoutRsp

type LogoutRsp struct {
	RId int `json:"RId"`
}

Jump to

Keyboard shortcuts

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