dto

package
v0.0.0-...-92ef796 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnAddrDto

type ConnAddrDto struct {
	Host string `json:"host"`
	Port int32  `json:"port"`
}

@Model _ConnAddrDto @Description ConnAddr information @Property host string true "conn host" @Property port integer true "conn port"

type MessageDto

type MessageDto struct {
	Message  string    `json:"message"`
	SendTime time.Time `json:"send_time"`
}

type UserDto

type UserDto struct {
	Uid      int32  `json:"uid"`
	Username string `json:"username"`
}

@Model _UserDto @Description User information @Property uid integer true "user id" @Property username string true "username"

Jump to

Keyboard shortcuts

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