Affected by GO-2024-2528
and 2 other vulnerabilities
GO-2024-2528 : Etcd Gateway TLS endpoint validation only confirms TCP reachability in go.etcd.io/etcd
GO-2024-2529 : Etcd embed auto compaction retention negative value causing a compaction loop or a crash in go.etcd.io/etcd
GO-2024-2530 : Etcd auth Inaccurate logging of authentication attempts for users with CN-based auth only in go.etcd.io/etcd
The highest tagged major version is
v3 .
Discover Packages
go.etcd.io/etcd
Godeps
_workspace
src
golang.org
x
net
context
ctxhttp
package
Version:
v2.3.7+incompatible
Opens a new window with list of versions in this module.
Published: Jun 17, 2016
License: BSD-3-Clause, Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Overview
Index
Constants
Variables
Functions
Do(ctx, client, req)
Get(ctx, client, url)
Head(ctx, client, url)
Post(ctx, client, url, bodyType, body)
PostForm(ctx, client, url, data)
Types
Source Files
Documentation
Documentation
¶
Package ctxhttp provides helper functions for performing context-aware HTTP requests.
func Do(ctx context.Context, client *http.Client, req *http.Request) (*http.Response, error)
func Get(ctx context.Context, client *http.Client, url string) (*http.Response, error)
func Head(ctx context.Context, client *http.Client, url string) (*http.Response, error)
func Post(ctx context.Context, client *http.Client, url string, bodyType string, ...) (*http.Response, error)
func PostForm(ctx context.Context, client *http.Client, url string, data url.Values) (*http.Response, error)
Do sends an HTTP request with the provided http.Client and returns an HTTP response.
If the client is nil, http.DefaultClient is used.
If the context is canceled or times out, ctx.Err() will be returned.
Get issues a GET request via the Do function.
Head issues a HEAD request via the Do function.
Post issues a POST request via the Do function.
PostForm issues a POST request via the Do function.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.