全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: golang-github-justinas-alice  ]

套件:golang-github-justinas-alice-dev(0.0~git20171023.03f45bd-1)

golang-github-justinas-alice-dev 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 golang-github-justinas-alice

維護小組:

外部的資源:

相似套件:

Painless middleware chaining for Go

Alice provides a convenient way to chain HTTP middleware functions and the app handler.

It transforms:

  go Middleware1(Middleware2(Middleware3(App)))
to
  go alice.New(Middleware1, Middleware2, Middleware3).Then(App)

None of the other middleware chaining solutions behaves exactly like Alice. Alice is as minimal as it gets: in essence, it's just a for loop that does the wrapping for you.

下載 golang-github-justinas-alice-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 5。7 kB26。0 kB [檔案列表]