proxy

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
}

func (*Handler) Handle

func (s *Handler) Handle(key string, initialMessage string, incomingMessages <-chan string, response chan<- common.Message)

type HttpReader

type HttpReader struct {
	Buffered   []byte
	Chan       <-chan string
	EOF        bool
	MessageKey string
}

func (*HttpReader) Close added in v0.29.0

func (h *HttpReader) Close() error

func (*HttpReader) Read

func (h *HttpReader) Read(bytes []byte) (int, error)

type HttpWriter

type HttpWriter struct {
	Message    common.HTTPMessage
	MessageKey string
	Chan       chan<- common.Message
	// contains filtered or unexported fields
}

func (*HttpWriter) Close

func (h *HttpWriter) Close() error

func (*HttpWriter) Write

func (h *HttpWriter) Write(bytes []byte) (n int, err error)

Jump to

Keyboard shortcuts

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