handy

net/http handler filters

  • Owner: streadway/handy
  • Platform:
  • License:: BSD 2-Clause "Simplified" License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Handy Handlers

Collection of useful HTTP handlers that form a handler stack of filters. Many
are opinionated for a specific purpose.

GoDoc

API

The signature for a handler wrapper ends with an http.Handler interface and returns a http.Handler interface. For example:

func Log(w io.Writer, http.Handler) http.Handler

func CORS(methods, origins []string, http.Handler) http.Handler

Contributing

Fork the repo and add your fix or handler with tests. Make a pull request.

Main metrics

Overview
Name With Ownerstreadway/handy
Primary LanguageGo
Program languageGo (Language Count: 1)
Platform
License:BSD 2-Clause "Simplified" License
所有者活动
Created At2013-07-11 20:22:55
Pushed At2021-04-16 16:04:47
Last Commit At2020-01-28 14:43:31
Release Count0
用户参与
Stargazers Count346
Watchers Count17
Fork Count25
Commits Count83
Has Issues Enabled
Issues Count12
Issue Open Count5
Pull Requests Count21
Pull Requests Open Count2
Pull Requests Close Count4
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private