package testutil

import "github.com/coreos/etcd/pkg/testutil"

Index

Functions

func ForceGosched

func ForceGosched()

WARNING: This is a hack. Remove this when we are able to block/check the status of the go-routines.

Types

type PauseableHandler

type PauseableHandler struct {
	Next http.Handler
	// contains filtered or unexported fields
}

func (*PauseableHandler) Pause

func (ph *PauseableHandler) Pause()

func (*PauseableHandler) Resume

func (ph *PauseableHandler) Resume()

func (*PauseableHandler) ServeHTTP

func (ph *PauseableHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Source Files

pauseable_handler.go testutil.go

Version
v2.0.0-rc.1+incompatible
Published
Dec 18, 2014
Platform
js/wasm
Imports
3 packages
Last checked
8 hours ago

Tools for package owners.