types

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreatedTypeGuest  int = 2
	CreatedTypeMember int = 1
	CreatedTypeOwner  int = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatedType

type CreatedType int

type GetRequest

type GetRequest struct {
	Param string
}

type GetResponse

type GetResponse struct {
	Data string
}

type Pos

type Pos struct {
	X int
	Y int
}

type PostCreateTableRequest

type PostCreateTableRequest struct {
	Flag int
	ID   string
	Map  map[int]int `json:"map"`
	Text string
}

type PostCreateTableResponse

type PostCreateTableResponse struct {
	ID          string
	Payload     Table
	RequestTime time.Time
}

type PostCreateUserRequest

type PostCreateUserRequest struct {
	Birthday time.Time
	Gender   int
	ID       string `param:"id"`
	Password string
	Roles    *[]*Role
}

type PostCreateUserResponse

type PostCreateUserResponse struct {
	CreatedType CreatedType
	Message     string
	RequestedAt time.Time
	Status      bool
}

type Role

type Role struct {
	ID             int
	Name           string
	RecursionRoles *[]Role
}

type Table

type Table struct {
	Pos Pos
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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