proxy

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 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 HTTPReader

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

func (*HTTPReader) Close

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)

type Handler

type Handler struct {
}

func (*Handler) Handle

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

Jump to

Keyboard shortcuts

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