Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: golang-github-azure-go-autorest
2 Section: golang
3 Standards-Version: 4.7.4
4 Maintainer: Debian Go Packaging Team <[email protected]>
5 Uploaders: Martina Ferrari <[email protected]>,
6 Tim Potter <[email protected]>,
7 Build-Depends: debhelper-compat (= 13),
8 dh-sequence-golang,
9 golang-any,
10 golang-github-dimchansky-utfbom-dev,
11 golang-github-golang-jwt-jwt-dev,
12 golang-github-mitchellh-go-homedir-dev,
13 golang-github-stretchr-testify-dev,
14 golang-golang-x-crypto-dev,
15 Homepage: https://github.com/Azure/go-autorest
16 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-azure-go-autorest
17 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-azure-go-autorest.git
18 XS-Go-Import-Path: github.com/Azure/go-autorest
19 Testsuite: autopkgtest-pkg-go
20
21 Package: golang-github-azure-go-autorest-dev
22 Architecture: all
23 Multi-Arch: foreign
24 Depends: golang-github-dimchansky-utfbom-dev,
25 golang-github-golang-jwt-jwt-dev,
26 golang-github-mitchellh-go-homedir-dev,
27 golang-golang-x-crypto-dev,
28 ${misc:Depends},
29 Description: HTTP request pipeline suitable for use across multiple go-routines
30 Package autorest implements an HTTP request pipeline suitable for use across
31 multiple go-routines and provides the shared routines relied on by AutoRest
32 (see https://github.com/Azure/autorest/) generated Go code.
33 .
34 The package breaks sending and responding to HTTP requests into three phases:
35 Preparing, Sending, and Responding.
36 .
37 Each phase relies on decorators to modify and / or manage processing.
38 Decorators may first modify and then pass the data along, pass the data first
39 and then modify the result, or wrap themselves around passing the data (such as
40 a logger might do). Decorators run in the order provided.
41 .
42 Preparers and Responders may be shared and re-used (assuming the underlying
43 decorators support sharing and re-use). Performant use is obtained by creating
44 one or more Preparers and Responders shared among multiple go-routines, and a
45 single Sender shared among multiple sending go-routines, all bound together by
46 means of input / output channels.
47 .
48 Decorators hold their passed state within a closure (such as the path
49 components in the example above). Be careful to share Preparers and Responders
50 only in a context where such held state applies. For example, it may not make
51 sense to share a Preparer that applies a query string from a fixed set of
52 values. Similarly, sharing a Responder that reads the response body into a
53 passed struct (e.g., ByUnmarshallingJson) is likely incorrect.
54 .
55 Lastly, the Swagger specification (https://swagger.io) that drives AutoRest
56 (https://github.com/Azure/autorest/) precisely defines two date forms: date and
57 date-time. The github.com/Azure/go-autorest/autorest/date package provides
58 time.Time derivations to ensure correct parsing and formatting.
59 .
60 Errors raised by autorest objects and methods will conform to the
61 autorest.Error interface.