http_polling

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpPolling = []byte("http_polling_stream")
)

Functions

func SetInputIntervalMillis

func SetInputIntervalMillis(input []byte, interval int64) []byte

func SetRequestInput

func SetRequestInput(input, requestInput []byte) []byte

func SetSkipPublishSameResponse

func SetSkipPublishSameResponse(input []byte, skip bool) []byte

Types

type HttpPollingStream

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

func New

func New(client httpclient.Client) *HttpPollingStream

func (*HttpPollingStream) Start

func (h *HttpPollingStream) Start(input []byte, next chan<- []byte, stop <-chan struct{})

func (*HttpPollingStream) UniqueIdentifier

func (h *HttpPollingStream) UniqueIdentifier() []byte

Jump to

Keyboard shortcuts

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