common

package
v0.0.0-...-5607d3c Latest Latest
Warning

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

Go to latest
Published: May 13, 2017 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 Category

type Category struct {
	Main, Sub uint8
}

func (Category) String

func (c Category) String() (s string)

type SearchParam

type SearchParam struct {
	Order    bool // True means acsending
	Status   Status
	Sort     SortMode
	Category Category
	Page     int
	UserID   uint
	Max      uint
	NotNull  string
	Query    string
}

type SortMode

type SortMode uint8
const (
	ID SortMode = iota
	Name
	Date
	Downloads
	Size
	Seeders
	Leechers
	Completed
)

type Status

type Status uint8
const (
	ShowAll Status = iota
	FilterRemakes
	Trusted
	APlus
)

Jump to

Keyboard shortcuts

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