Documentation ¶
Index ¶
Constants ¶
View Source
const ( ParamOffset = "offset" ParamLimit = "limit" )
Variables ¶
This section is empty.
Functions ¶
func GetResources ¶ added in v1.1.0
func GetResources(api *API) http.HandlerFunc
GetResources returns all resources that are wanted to be indexed in search
Types ¶
type API ¶
type API struct { Router *mux.Router Cfg *config.Config DataStore DataStorer }
API provides a struct to wrap the api around
Click to show internal directories.
Click to hide internal directories.