Documentation
¶
Overview ¶
Package mctest provides standalone instances of memcache suitable for use in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fatalf ¶
type Fatalf interface {
Fatalf(format string, args ...interface{})
}
Fatalf is satisfied by testing.T or testing.B.
type Server ¶
type Server struct {
Port int
StopTimeout time.Duration
T Fatalf
// contains filtered or unexported fields
}
Server is a unique instance of a memcached.
func NewStartedServer ¶
NewStartedServer creates a new server starts it.
Click to show internal directories.
Click to hide internal directories.
