server

package
v0.0.0-...-f5c8d32 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Ping = []byte("ping,")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Don chan struct{}
	Lis net.Listener
	Log logger.Interface
	Rtr *mux.Router
	Str *stream.Stream
}

type Server

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

func New

func New(c Config) *Server

func (*Server) Daemon

func (s *Server) Daemon()

func (*Server) Stream

func (s *Server) Stream(w http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

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