Documentation ¶
Overview ¶
Package httpserver provides an HTTP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer represents an HTTP server.
func New ¶
func New(conf *config.Config, evchan chan<- *linebot.Event) *HTTPServer
New creates an HTTP server and returns it.
func (*HTTPServer) ServeHTTP ¶
func (hs *HTTPServer) ServeHTTP(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.