handlers

package
v0.0.0-...-0ad2128 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: Apache-2.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 HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

type MetaFetcher

type MetaFetcher interface {
	Meta(ctx context.Context) (map[string]*logcache_v1.MetaInfo, error)
}

type Siege

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

func NewSiege

func NewSiege(addr string, concurrentRequests int, c HTTPClient, f MetaFetcher) *Siege

func (*Siege) ServeHTTP

func (s *Siege) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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