helpers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const BINTRAY_RECONNECT_HEADER = "X-Bintray-Stream-Reconnect-Id"

Variables

This section is empty.

Functions

This section is empty.

Types

type StreamManager

type StreamManager struct {
	HttpClientDetails httputils.HttpClientDetails
	Url               string
	IncludeFilter     map[string]struct{}
	ReconnectId       string
}

func (*StreamManager) Connect

func (sm *StreamManager) Connect() (bool, *http.Response, error)

func (*StreamManager) ReadStream

func (sm *StreamManager) ReadStream(resp *http.Response, writer io.Writer, lastServerInteraction *time.Time)

Jump to

Keyboard shortcuts

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