Balík: golang-github-justinas-alice-dev (1.2.0-2)
Odkazy pre golang-github-justinas-alice-dev
Zdroje Trisquel:
Stiahnuť zdrojový balík 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]
Správca:
Original Maintainers:
- Debian Go Packaging Team
- Raúl Benencia
Externé zdroje:
- Domovská stránka [github.com]
Podobné balíky:
- golang-github-goji-httpauth-dev
- golang-github-grpc-ecosystem-go-grpc-middleware-dev
- ruby-rack
- golang-github-urfave-negroni-dev
- golang-github-hashicorp-go-cleanhttp-dev
- golang-github-hashicorp-errwrap-dev
- golang-github-go-chi-chi-dev
- golang-github-unrolled-secure-dev
- ejabberd-mod-rest
- libhttp-response-encoding-perl
- golang-github-labstack-echo-dev
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.
Stiahnuť golang-github-justinas-alice-dev
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 6.2 kB | 27 kB | [zoznam súborov] |