model

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Message

func Message(raw map[string]interface{}, e error) (bs []byte)

Message .

Types

type ChangeRoomReq

type ChangeRoomReq struct {
	RoomID string `json:"room_id"`
}

ChangeRoomReq .

type RegisterOpReq

type RegisterOpReq struct {
	Operation  int32   `json:"operation"`
	Operations []int32 `json:"operations"`
}

RegisterOpReq .

type Response

type Response struct {
	Code    int                    `json:"code"`
	Message string                 `json:"message"`
	Data    map[string]interface{} `json:"data"`
}

Response .

type UnregisterOpReq

type UnregisterOpReq struct {
	Operation  int32   `json:"operation"`
	Operations []int32 `json:"operations"`
}

UnregisterOpReq .

Jump to

Keyboard shortcuts

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