framesweb

package
v0.0.0-...-33b8d29 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2014 License: MIT Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseFramesClient

func CloseFramesClient(hc *http.Client) error

CloseFramesClient closes the frames client.

func NewFramesClient

func NewFramesClient(n, addr string) (*http.Client, error)

NewFramesClient gets an HTTP client that maintains a persistent frames connection.

Types

type FramesRoundTripper

type FramesRoundTripper struct {
	Dialer  frames.ChannelDialer
	Timeout time.Duration
	// contains filtered or unexported fields
}

FramesRoundTripper is a RoundTripper over frames.

func (*FramesRoundTripper) RoundTrip

func (f *FramesRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip satisfies http.RoundTripper

Jump to

Keyboard shortcuts

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