model

package
v0.0.0-...-bf40b24 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRoomRequest

type CreateRoomRequest struct {
	User     string `json:"user"`
	ThreadID string `json:"thread_id"`
	BoardSN  string `json:"board_sn"`
}

func (CreateRoomRequest) Validate

func (c CreateRoomRequest) Validate() error

type DeleteRoomRequest

type DeleteRoomRequest struct {
	User     string `json:"user"`
	RoomName string `json:"room_name"`
}

func (DeleteRoomRequest) Validate

func (d DeleteRoomRequest) Validate() error

type JoinRoomRequest

type JoinRoomRequest struct {
	User     string `json:"user"`
	RoomName string `json:"room_name"`
}

func (JoinRoomRequest) Validate

func (j JoinRoomRequest) Validate() error

type Resp

type Resp struct {
	RoomName string `json:"room_name"`
	RoomURL  string `json:"room_url"`
}

Jump to

Keyboard shortcuts

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