Documentation ¶
Index ¶
- func CorsHeader2(inner http.Handler) http.Handler
- type Handler
- func (inner Handler) ContentHTML() Handler
- func (inner Handler) ContentJSON() Handler
- func (inner Handler) ContentPLAIN() Handler
- func (inner Handler) ContentType(contentType string) Handler
- func (inner Handler) CorsHeader() Handler
- func (inner Handler) Logger() Handler
- func (fn Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (inner Handler) Verify() Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
func (Handler) ContentHTML ¶
func (Handler) ContentJSON ¶
func (Handler) ContentPLAIN ¶
func (Handler) ContentType ¶
func (Handler) CorsHeader ¶
Click to show internal directories.
Click to hide internal directories.