protocols

package
v1.1.26 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActorCreateRequest

type ActorCreateRequest struct {
	ActorName string `json:"actor_name"`
	Sex       int    `json:"sex"`
}

type ActorCreateResponse

type ActorCreateResponse struct {
	ActorInfo *ActorInfo
}

type ActorInfo

type ActorInfo struct {
	ActorId    int64  `json:"actor_id"`
	ActorName  string `json:"actor_name"`
	ActorSex   int32  `json:"actor_sex"`
	CreateTime int64  `json:"create_time"`
}

type ActorSelectRequest

type ActorSelectRequest struct {
	Time int `json:"time"`
}

type ActorSelectResponse

type ActorSelectResponse struct {
	ActorName string `json:"actor_name"`
}

type LoginRequest

type LoginRequest struct {
	ServerId string `json:"server_id"`
	Token    string `json:"token"`
}

type LoginResponse

type LoginResponse struct {
	Uid int64 `json:"uid"`
}

Jump to

Keyboard shortcuts

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