testutils

package
v0.0.0-...-240891c Latest Latest
Warning

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

Go to latest
Published: May 11, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestBaseContext

func NewTestBaseContext() *base.Context

NewTestBaseContext creates a base context for testing. The certs file loader is overriden in individual main_test files.

func NewTestHTTPClient

func NewTestHTTPClient() (*http.Client, error)

NewTestHTTPClient creates a HTTP client on the fly using a test context. Useful when contexts don't need to be reused.

Types

This section is empty.

Jump to

Keyboard shortcuts

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