Back to godoc.org

Package helper

v0.0.0-...-b9a9d18
Latest Go to latest

The highest tagged major version is .

Published: Dec 11, 2019 | License: BSD-2-Clause | Module: github.com/dgryski/carbonzipper

Index

type HttpQuery

type HttpQuery struct {
	// contains filtered or unexported fields
}

func NewHttpQuery

func NewHttpQuery(logger *zap.Logger, groupName string, servers []string, maxTries int, limiter *limiter.ServerLimiter, client *http.Client, encoding string) *HttpQuery

func (*HttpQuery) DoQuery

func (c *HttpQuery) DoQuery(ctx context.Context, uri string, body []byte) (*ServerResponse, *errors.Errors)

type ServerResponse

type ServerResponse struct {
	Server   string
	Response []byte
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier