Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDenied ¶
type AccessDenied struct{}
func (AccessDenied) ServeHTTP ¶
func (_ AccessDenied) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ErrorResponder ¶
func (ErrorResponder) ServeHTTP ¶
func (er ErrorResponder) ServeHTTP(w http.ResponseWriter, r *http.Request)
type Httpd ¶
type Httpd struct {
net.Listener
Ready TransCloser
}
type IPCAuth ¶
type JsonResponder ¶
type JsonResponder struct {
Status int
Doc interface{}
}
func (JsonResponder) ServeHTTP ¶
func (jr JsonResponder) ServeHTTP(w http.ResponseWriter, r *http.Request)
type NotFound ¶
type NotFound struct{}
type Ready ¶
type RipStop ¶
type StdHeaders ¶
func (StdHeaders) ServeHTTP ¶
func (h StdHeaders) ServeHTTP(w http.ResponseWriter, r *http.Request)
type TransCloser ¶
type TransCloser interface {
io.WriteCloser
Commit() error
Rollback() error
}
Source Files
¶
- context.go
- httpd.go
- ipc_auth.go
- method_mux.go
- middlewares.go
- ready.go
- rip_stop.go
- signal.go
- std_headers.go
Click to show internal directories.
Click to hide internal directories.