Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParseURL ¶
func NewBody ¶
func NewBody(s string) io.ReadCloser
func NewHTTPRouter ¶
NewHTTPRouter returns a new test HTTP router
func ReadBody ¶
func ReadBody(r io.ReadCloser) string
Types ¶
type AllCache ¶
type AllCache struct {
// contains filtered or unexported fields
}
func NewAllCache ¶
type GetOnlyCache ¶
type GetOnlyCache struct {
// contains filtered or unexported fields
}
func NewGetOnlyCache ¶
func NewGetOnlyCache(t testing.TB) *GetOnlyCache
func (*GetOnlyCache) Hit ¶
func (c *GetOnlyCache) Hit() int
Click to show internal directories.
Click to hide internal directories.