web

package
v0.0.0-...-2d56348 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseWriterFlusher

type ResponseWriterFlusher struct {
	// contains filtered or unexported fields
}

func NewResponseWriterFlusher

func NewResponseWriterFlusher(w http.ResponseWriter) (*ResponseWriterFlusher, error)

func (*ResponseWriterFlusher) Flush

func (r *ResponseWriterFlusher) Flush()

func (*ResponseWriterFlusher) Write

func (r *ResponseWriterFlusher) Write(chunk []byte)

type Streamer

type Streamer struct {
	Pubsub *vorbis.PubSub
}

func NewStreamer

func NewStreamer() *Streamer

func (*Streamer) ServeHTTP

func (s *Streamer) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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