File: control

package info (click to toggle)
golang-github-justinas-alice 0.0~git20171023.03f45bd-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 68 kB
  • sloc: makefile: 2
file content (30 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Source: golang-github-justinas-alice
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Raúl Benencia <rul@kalgan.cc>,
Build-Depends: debhelper (>= 11),
               dh-golang,
               golang-any,
Standards-Version: 4.2.1
Homepage: https://github.com/justinas/alice
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-justinas-alice
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-justinas-alice.git
XS-Go-Import-Path: github.com/justinas/alice
Testsuite: autopkgtest-pkg-go

Package: golang-github-justinas-alice-dev
Architecture: all
Depends: ${misc:Depends},
Description: 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.