search

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 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 Page

type Page struct {
	model.Page
	Data Search `json:"data"`
}

Page ...

type Response

type Response struct {
	Count        int           `json:"count"`
	ContentTypes []contentType `json:"content_types"`
	Items        []contentItem `json:"items"`
	Suggestions  []string      `json:"suggestions,omitempty"`
}

Response ...

type Search struct {
	Query    string   `json:"query"`
	Filter   []string `json:"filter,omitempty"`
	Sort     string   `json:"sort,omitempty"`
	Limit    int      `json:"limit,omitempty"`
	Offset   int      `json:"offset,omitempty"`
	Response Response `json:"response"`
}

Search ..

Jump to

Keyboard shortcuts

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