Documentation
¶
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 is an http server.
func NewHTTPServer ¶
func NewHTTPServer(ctx context.Context) (*HTTPServer, error)
func (*HTTPServer) ListenAndServe ¶
func (s *HTTPServer) ListenAndServe() error
ListenAndServe starts the HTTP server.
type Pattern ¶
type Pattern struct {
// contains filtered or unexported fields
}
Pattern is a pattern for matching a URL. It matches against GET requests.
func NewPattern ¶
NewPattern returns a new Pattern with the given matcher.
Click to show internal directories.
Click to hide internal directories.