Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryListener ¶
type MemoryListener struct {
// contains filtered or unexported fields
}
func NewMemoryListener ¶
func NewMemoryListener() *MemoryListener
func (*MemoryListener) Addr ¶
func (ml *MemoryListener) Addr() net.Addr
func (*MemoryListener) Close ¶
func (ml *MemoryListener) Close() error
type MemoryServer ¶
type MemoryServer struct { Listener *MemoryListener *http.Server }
func NewInMemoryServer ¶
func NewInMemoryServer(h http.Handler) *MemoryServer
func (*MemoryServer) NewClient ¶
func (ms *MemoryServer) NewClient() *http.Client
func (*MemoryServer) NewTransport ¶
func (ms *MemoryServer) NewTransport() *http.Transport
Click to show internal directories.
Click to hide internal directories.