Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler interface {
Error(error)
}
ErrorHandler a handler for errors that can choose to exit or not if it wants, it can exit entirely
type ErrorResponse ¶
type Server ¶
type Server struct { Store store.DataStore ErrorHandler }
Server a handler creator for an http server
func (*Server) CreateHandler ¶
CreateHandler create an http.Handler
Click to show internal directories.
Click to hide internal directories.