tüm seçenekler
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Kaynak: golang-github-justinas-alice  ]

Paket: golang-github-justinas-alice-dev (1.2.0-2)

golang-github-justinas-alice-dev için bağlantılar

Screenshot

Debian Kaynakları:

golang-github-justinas-alice Kaynak Paketini İndir:

Geliştiriciler:

Dış Kaynaklar:

Benzer paketler:

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 indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 6,1 kB27,0 kB [dosya listesi]