Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error struct {
Err error `json:"error"`
}
Error is an error wrapper for responses.
type Server ¶
type Server struct { // NotFound handles 404 responses. NotFound http.Handler // OnErr is called when there has been a system level error, // like encoding/decoding. OnErr func(w http.ResponseWriter, r *http.Request, err error) // contains filtered or unexported fields }
Server is an HTTP server for serving Remoto requests.
Click to show internal directories.
Click to hide internal directories.