Documentation ¶
Overview ¶
Package mockdb implements a fully non-functional mock database client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDB ¶
type MockDB struct {
// contains filtered or unexported fields
}
MockDB represents a mock database.
func Open ¶
Open opens a connection to a MockDB server, defined by connection string "conn". If no connection can be established, Open returns an error. The call may get delayed by up to one second, to support demonstrating timeout behavior.
Click to show internal directories.
Click to hide internal directories.