Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTimeout = fmt.Errorf("unix socket timeout") ErrConnectionRefused = fmt.Errorf("unix socket connection failed") )
View Source
var ErrServerRequestedShutdown = errors.New(
"socket frontend is requested to shutdown",
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a unix socket client that can send requests to the frontend over HTTP.
type HTTPHandlerFunc ¶
type HTTPHandlerFunc func(w http.ResponseWriter, r *http.Request)
HTTPHandlerFunc is a function that handles HTTP requests.
Click to show internal directories.
Click to hide internal directories.