digester

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

type HTTP struct {
	Client          *http.Client
	Endpoint        *url.URL
	PollTimeout     time.Duration
	PollingInterval time.Duration
}

HTTP is used to create a new digest

func (*HTTP) Digest

func (c *HTTP) Digest(ctx context.Context, start, stop time.Time) (io.ReadCloser, error)

Digest starts a new digest job, and waits for its completion. On successful completion, Digest will return the digested content.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL