ssdp

package
v0.0.0-...-56e7ff9 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2015 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AddrString = "239.255.255.250:1900"
)

Variables

View Source
var (
	NetAddr *net.UDPAddr
)

Functions

func ReadRequest

func ReadRequest(b *bufio.Reader) (req *http.Request, err error)

Types

type Server

type Server struct {
	Interface      net.Interface
	Server         string
	Services       []string
	Devices        []string
	Location       func(net.IP) string
	UUID           string
	NotifyInterval uint
	// contains filtered or unexported fields
}

func (*Server) Close

func (me *Server) Close()

func (*Server) Init

func (me *Server) Init() (err error)

func (*Server) Serve

func (me *Server) Serve() (err error)

Jump to

Keyboard shortcuts

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