media

package
v1.0.1-0...-c50d641 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UDPTransport

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

UDPTransport .

func NewUDPTransport

func NewUDPTransport() *UDPTransport

NewSession .

func (*UDPTransport) Serve

func (s *UDPTransport) Serve(port int) (chan *udp.Conn, error)

Serve listen on a port and accept udp conn

Directories

Path Synopsis
Package deadline provides deadline timer used to implement net.Conn compatible connection
Package deadline provides deadline timer used to implement net.Conn compatible connection
Package udp provides a connection-oriented listener over a UDP PacketConn
Package udp provides a connection-oriented listener over a UDP PacketConn

Jump to

Keyboard shortcuts

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