backend

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: BSD-3-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DecodeTimeout      = 10 * time.Second
	QueryResultTimeout = 10 * time.Second
	AcceptTimeout      = 10 * time.Second
)

Functions

func Serve

func Serve(host string, h Handler)

Types

type Handler

type Handler interface {
	HandleObservations(*obs.InputObservation)
	HandleQuery(*db.QueryRequest, net.Conn)
	HandleDump(*db.DumpRequest, net.Conn)
	HandleBackup(*db.BackupRequest)
}

Jump to

Keyboard shortcuts

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