Documentation

Overview

    Package isolatedfake implements an in-process fake Isolated server for integration testing.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type IsolatedFake

    type IsolatedFake interface {
    	http.Handler
    	// Contents returns all the uncompressed data on the fake isolated server.
    	Contents() map[isolated.HexDigest][]byte
    	// Inject adds uncompressed data in the fake isolated server.
    	Inject(data []byte)
    	Error() error
    }

      IsolatedFake is a functional fake in-memory isolated server.

      func New

      func New() IsolatedFake

        New create a HTTP router that implements an isolated server.

        Source Files