Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectSearch ¶
This function handles two routes "/" and "/project/:id"
Types ¶
type DateTimeRange ¶
func (*DateTimeRange) IsValid ¶
func (this *DateTimeRange) IsValid() bool
type SearchRequest ¶
type SearchRequest struct { Text string // test to search Indexes []string // ES indexeses to perform search Types []string // search types Size int // home much objects ES must return From int // how much objects should ES skip from first TimeRange DateTimeRange }
Represents search request to perform in ES
Click to show internal directories.
Click to hide internal directories.