Documentation
¶
Overview ¶
Package httpd adapts the gouldian server to net/http
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler adapts the server to http.Handler. The context of the request is propagated to endpoints.
api := µ.NewServer(µ.WithCORS(...)).Mount( ... )
http.ListenAndServe(":8080", httpd.Handler(api))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.