problem

package
v0.0.0-...-45e38b6 Latest Latest
Warning

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

Go to latest
Published: May 17, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterProblem

func RegisterProblem(router *gin.RouterGroup)

Types

type GetParam

type GetParam struct {
	Id int64 `form:"id" json:"id"`
}

type ListParam

type ListParam struct {
	Origin      string `form:"origin" json:"origin"`
	Tag         string `form:"tag" json:"tag"`
	Difficult   string `form:"diff" json:"diff"`
	Sort        int    `form:"sort" json:"sort"`
	IsAsc       int    `form:"is_asc" json:"is_asc"`
	CurrentPage int    `form:"current_page" json:"current_page"`
	PerPage     int    `form:"per_page" json:"per_page"`
}

type RandomParam

type RandomParam struct {
	Origin string `form:"origin" json:"origin"`
	Tag    string `form:"tag" json:"tag"`
}

Jump to

Keyboard shortcuts

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