dbs

package
v0.0.0-...-9ef129c Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTitle

func GetTitle(w http.ResponseWriter, r *http.Request)

func QueryKey

func QueryKey(w http.ResponseWriter, r *http.Request)

func SetData

func SetData(w http.ResponseWriter, r *http.Request)

Types

type Content

type Content struct {
	Category    string `json:"category"`
	Name        string `json:"name"`
	Results     string `json:"results"`
	Number      int64  `json:"number"`
	SearchCount int64  `json:"searchcount"`
}

type ContentSlice

type ContentSlice struct {
	RtnCode  int       `json:"rtncode"`
	Contents []Content `json:"contents"`
}

type Title

type Title struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type TitleSlice

type TitleSlice struct {
	RtnCode int     `json:"rtncode"`
	Titles  []Title `json:"titles"`
}

Jump to

Keyboard shortcuts

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