Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server encapsulates the configuration, starting, and stopping of a single redis-server process that is reachable via a local Unix socket.
func Start ¶
Start initiates a new redis-server process configured with the given configuration. redis-server will listen on a temporary local Unix socket. An error is returned if redis-server is unable to successfully start for any reason.
func (*Server) Kill ¶
Kill forcefully shuts down redis-server. It returns an error if redis-server fails to die.
func (*Server) Stderr ¶
Stderr blocks until redis-server returns and then returns the full stdout output.
Click to show internal directories.
Click to hide internal directories.