transport

package
v0.0.0-...-c225d3c Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTypeAssertQueryGetAggregationRequest = errors.New("type assertion failed on AggregationEndpoint")

Error for issues deserializing the requst for search.

View Source
var ErrTypeAssertTriggerRequest = errors.New("type assertion failed on trigger request")

Functions

func MakeAggregationEndpoint

func MakeAggregationEndpoint(svc services.AggregationService) endpoint.Endpoint

* Main endpoint for search aggregations.

func MakeSlowEndpoint

* Test endpoint for variable service response

func RegisterRoutes

* Match the routes to the endpoints

Types

type Endpoints

type Endpoints struct {
	GetAggregationEndpoint endpoint.Endpoint
	GetTestServiceEndpoint endpoint.Endpoint
}

func MakeEndpoints

* Setup endpoints

Jump to

Keyboard shortcuts

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