Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Goodbye ¶
type Goodbye struct {
// contains filtered or unexported fields
}
Goodbye is a simple handler
func NewGoodbye ¶
NewHGoodbye creates a new goodbye handler with the given logger
func (*Goodbye) ServeHTTP ¶
func (h *Goodbye) ServeHTTP(rw http.ResponseWriter, r *http.Request)
ServeHTTP implements the go http.Handler interface https://golang.org/pkg/net/http/#Handler
type Hello ¶
type Hello struct {
// contains filtered or unexported fields
}
Hello is a simple handler
func (*Hello) ServeHTTP ¶
func (h *Hello) ServeHTTP(rw http.ResponseWriter, r *http.Request)
ServeHTTP implements the go http.Handler interface https://golang.org/pkg/net/http/#Handler
Click to show internal directories.
Click to hide internal directories.