home

package
v0.0.0-...-1871c23 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(res http.ResponseWriter, ctx *context.Context, params martini.Params)

Delete log record

func ProjectSearch

func ProjectSearch(ctx *context.Context, params martini.Params)

This function handles two routes "/" and "/project/:id"

func View

func View(res http.ResponseWriter, ctx *context.Context, params martini.Params)

View log record

Types

type DateTimeRange

type DateTimeRange struct {
	Start string
	Stop  string
}

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

Jump to

Keyboard shortcuts

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