Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalizeHeaderKey ¶
CanonicalizeHeaderKey canonicalizes the given header key for storage into the Headers map.
Types ¶
type Headers ¶
type Headers struct {
// contains filtered or unexported fields
}
Headers provides the implementation of both, yarpc.Headers and transport.Headers.
Keys in the map are canonicalized using CanonicalizeHeaderKey.
func NewHeadersWithCapacity ¶
NewHeadersWithCapacity allocates a new Headers object. capacity specifies the initial capacity of the headers map. A capacity of zero or less is ignored.
func (Headers) Items ¶
Items returns the underlying map for this Headers object. The returned map MUST NOT be mutated. Doing so will result in undefined behavior.
This ALWAYS returns a non-nil result.
Directories ¶
Path | Synopsis |
---|---|
thrift/gen-go/echo
Package echo is generated code used to make or handle TChannel calls using Thrift.
|
Package echo is generated code used to make or handle TChannel calls using Thrift. |
thrift/gen-go/gauntlet_tchannel
Package gauntlet_tchannel is generated code used to make or handle TChannel calls using Thrift.
|
Package gauntlet_tchannel is generated code used to make or handle TChannel calls using Thrift. |
examples
|
|
Click to show internal directories.
Click to hide internal directories.