helpers

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 10 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