Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPathPrefixHTMLStreamer ¶
func NewPathPrefixHTMLStreamer(hostname, hostPath, targetPath string, r io.ReadCloser) io.ReadCloser
Types ¶
type HTMLStreamer ¶
type HTMLStreamer struct { R io.ReadCloser ModifyToken func(*html.Token) // contains filtered or unexported fields }
type ResponseWriterCloser ¶
type ResponseWriterCloser interface { http.ResponseWriter io.Closer }
ResponseWriterCloser is a closeable http.ResponseWriter
func NewPathPrefixHTMLResponseWriter ¶
func NewPathPrefixHTMLResponseWriter(hostname, hostPath, targetPath string, w http.ResponseWriter) ResponseWriterCloser
Click to show internal directories.
Click to hide internal directories.