proxy

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2018 License: Apache-2.0 Imports: 14 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