rest

package
v0.0.0-...-46fe095 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2019 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	Start() error
	Stop() error
}

func NewAPIServer

func NewAPIServer(config *conf.Config, cacheEndpoint cachestore.Endpoint, metricEndpoint metrics.Endpoint) API

type APIServer

type APIServer struct {
	// contains filtered or unexported fields
}

API is the rest api server struct

func (*APIServer) Start

func (api *APIServer) Start() (err error)

func (*APIServer) Stop

func (api *APIServer) Stop() error

Stop will shutdown the engine internally

Jump to

Keyboard shortcuts

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