Versions in this module Expand all Collapse all v1 v1.1.0 Mar 9, 2023 v1.0.0 Mar 9, 2023 Changes in this version + type FileHandler struct + func NewFileHandler(fileName string) *FileHandler + func (fh *FileHandler) Read() ([]byte, error) + func (fh *FileHandler) Write(input []byte) error + type HTTPRequestHandler struct + func NewHTTPRequestHandler(rw http.ResponseWriter, req *http.Request) *HTTPRequestHandler + func (rh *HTTPRequestHandler) Read() ([]byte, error) + func (rh *HTTPRequestHandler) Write(input []byte) error + type HTTPResponseHandler struct + func NewHTTPResponseHandler(res *http.Response) *HTTPResponseHandler + func (rh *HTTPResponseHandler) Read() ([]byte, error) + func (rh *HTTPResponseHandler) Write(input []byte) error + type Handler interface + Read func() ([]byte, error) + Write func([]byte) error + type Noop struct + func NewNoopHandler() *Noop + func (noop *Noop) Read() ([]byte, error) + func (noop *Noop) Write(d []byte) error