v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1 contains all handlers used to service the version 1.X.X API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DigesterHandler

type DigesterHandler struct {
	LogProvider  types.LogFn
	StatProvider types.StatFn
	Storage      types.Storage
	Marker       types.Marker
	Queuer       types.Queuer
}

DigesterHandler handles incoming HTTP requests for starting and retrieving new digests

func (*DigesterHandler) Get

Get retrieves a digest

func (*DigesterHandler) Post

Post creates a new digest

type Produce

type Produce struct {
	LogProvider      types.LogFn
	StatProvider     types.StatFn
	Storage          types.Storage
	Marker           types.Marker
	DigesterProvider types.DigesterProvider
}

Produce is a handler which performs the digest job, and stores the digest

func (*Produce) ServeHTTP

func (h *Produce) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP handles incoming HTTP requests, and creates a vpc flow digest

Jump to

Keyboard shortcuts

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