Documentation
¶
Overview ¶
Package devserver composes the synthetic, loopback-only development server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Content bool
ContentOrigin string
Reset bool
// Faults lets a client ask this synthetic server to lose a response after
// committing, throttle, or disconnect mid-response. It does nothing unless
// the binary was built with the devfaults tag, so a release build cannot
// be talked into faulting.
Faults bool
}
Click to show internal directories.
Click to hide internal directories.