types

package
v2.5.13 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreatedTypeGuest  int = 2
	CreatedTypeMember int = 1
	CreatedTypeOwner  int = 0
)
View Source
const (
	EnumA string = "A"
	EnumB string = "B"
	EnumC string = "C"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatedType

type CreatedType int

type Enum

type Enum string

type GetRequest

type GetRequest struct {
	Enum  Enum
	Param string
	Time  time.Time
}

type GetResponse

type GetResponse struct {
	Data string
}

type PostCreateTableRequest

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

type PostCreateTableResponse

type PostCreateTableResponse struct {
	ID          string
	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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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