[ 原始碼: golang-github-justinas-alice ]
套件:golang-github-justinas-alice-dev(1.2.0-2)
golang-github-justinas-alice-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-justinas-alice:
- [golang-github-justinas-alice_1.2.0-2.dsc]
- [golang-github-justinas-alice_1.2.0.orig.tar.gz]
- [golang-github-justinas-alice_1.2.0-2.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
- golang-github-goji-httpauth-dev
- golang-github-grpc-ecosystem-go-grpc-middleware-dev
- golang-github-urfave-negroni-dev
- ruby-rack
- golang-github-hashicorp-errwrap-dev
- golang-github-hashicorp-go-cleanhttp-dev
- golang-github-go-chi-chi-dev
- golang-github-unrolled-secure-dev
- ejabberd-mod-rest
- python3-static3
- libhttp-response-encoding-perl
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.