controller

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseFilters added in v0.4.0

func GetBaseFilters(c *gin.Context)

func GetIndexStatistics added in v0.4.0

func GetIndexStatistics(c *gin.Context)

func SearchIndex

func SearchIndex(c *gin.Context)

Types

type Count added in v0.4.0

type Count struct {
	Organization int    `json:"organization"`
	Project      int    `json:"project"`
	Repository   int    `json:"repository"`
	Branch       int    `json:"branch"`
	Tag          int    `json:"tag"`
	Document     uint64 `json:"document"`
}

type FilterResult added in v0.4.0

type FilterResult struct {
	Organizations []string `json:"organizations,omitempty"`
	Projects      []string `json:"projects,omitempty"`
	Repositories  []string `json:"repositories,omitempty"`
	Branches      []string `json:"branches,omitempty"`
	Tags          []string `json:"tags,omitempty"`
}

type IndexdStatisticsResult added in v0.4.0

type IndexdStatisticsResult struct {
	Count   Count            `json:"count"`
	Indexes []config.Indexed `json:"indexes"`
}

Jump to

Keyboard shortcuts

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