http

package
v0.0.0-...-dfea14c Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPSource

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

HTTPSource is a binding for an http url endpoint invocation nolint:golint

func NewHTTP

func NewHTTP() *HTTPSource

NewHTTP returns a new HTTPSource

func (*HTTPSource) Init

func (h *HTTPSource) Init(metadata bindings.Metadata) error

Init performs metadata parsing

func (*HTTPSource) Read

func (h *HTTPSource) Read(handler func(*bindings.ReadResponse) error) error

func (*HTTPSource) Write

func (h *HTTPSource) Write(req *bindings.WriteRequest) error

Jump to

Keyboard shortcuts

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