Documentation ¶
Index ¶
- Constants
- func GetDisplayColumns(displayColumns []string, wholeColumns []string) []string
- func GetLimit(n uint32) uint32
- func GetLimitFromRequest(req RequestHadLimit) uint32
- func GetOffset(n uint32) uint32
- func GetOffsetFromRequest(req RequestHadOffset) uint32
- type Chain
- type Database
- type Request
- type RequestHadLimit
- type RequestHadOffset
- type RequestWithOwnerPath
- type RequestWithReverse
- type RequestWithSortKey
Constants ¶
View Source
const ( DefaultOffset = uint32(0) DefaultLimit = uint32(20) )
View Source
const ( TagName = "json" SearchWordColumnName = "search_word" )
View Source
const (
DefaultSelectLimit = 200
)
Variables ¶
This section is empty.
Functions ¶
func GetDisplayColumns ¶
func GetLimitFromRequest ¶
func GetLimitFromRequest(req RequestHadLimit) uint32
func GetOffsetFromRequest ¶
func GetOffsetFromRequest(req RequestHadOffset) uint32
Types ¶
type RequestHadLimit ¶
type RequestHadLimit interface {
GetLimit() uint32
}
type RequestHadOffset ¶
type RequestHadOffset interface {
GetOffset() uint32
}
type RequestWithOwnerPath ¶
type RequestWithReverse ¶
type RequestWithReverse interface { RequestWithSortKey GetReverse() bool }
type RequestWithSortKey ¶
Click to show internal directories.
Click to hide internal directories.