wszystkie opcje
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: golang-github-justinas-alice  ]

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

Odnośniki dla golang-github-justinas-alice-dev

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego golang-github-justinas-alice:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

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.

Pobieranie golang-github-justinas-alice-dev

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 5,7 KiB26,0 KiB [lista plików]