search

package
v0.0.0-...-b33ce83 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Search(c echo.Context) (err error)

func SearchB

func SearchB(c echo.Context) (err error)

func SearchS

func SearchS(c echo.Context) (err error)

Types

type SearchQuery

type SearchQuery struct {
	// global
	Extra string `query:"e" json:"extra"` // 스토리보드 비디오.

	// set
	Ranked     string `query:"s" json:"ranked"`      // 랭크상태   set.ranked
	Nsfw       bool   `query:"nsfw" json:"nsfw"`     // R18       set.nsfw
	Video      bool   `query:"v" json:"video"`       // 비디오     set.video
	Storyboard bool   `query:"sb" json:"storyboard"` // 스토리보드  set.storyboard

	// map
	Mode             string `query:"m" json:"m"`      // 게임모드			    map.mode_int
	TotalLength      minMax `json:"totalLength"`      // 플레이시간			map.totalLength
	MaxCombo         minMax `json:"maxCombo"`         // 콤보				map.maxCombo
	DifficultyRating minMax `json:"difficultyRating"` // 난이도				map.difficultyRating
	Accuracy         minMax `json:"accuracy"`         // od					map.accuracy
	Ar               minMax `json:"ar"`               // ar					map.ar
	Cs               minMax `json:"cs"`               // cs					map.cs
	Drain            minMax `json:"drain"`            // hp					map.drain
	Bpm              minMax `json:"bpm"`              // bpm				map.bpm

	// query
	Sort       string   `query:"sort" json:"sort"`   // 정렬	  order by
	Page       int      `query:"p" json:"page"`      // 페이지 limit
	PageSize   int      `query:"ps" json:"pageSize"` // 페이지 당 크기
	Text       string   `query:"q" json:"query"`     // 문자열 검색
	ParsedText []string `json:"-"`                   // 문자열 검색 파싱 내부 사용용
	Option     string   `query:"option" json:"option"`
	OptionB    uint32   `json:"-"`    //artist 1,creator 2,tags 4 ,title 8
	B64        string   `query:"b64"` // body
}

Jump to

Keyboard shortcuts

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