udp

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: ISC Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	GatewayIP   string
	GatewayPort uint16
	// contains filtered or unexported fields
}

func DialConnection

func DialConnection(addr string, ssrc uint32) (*Connection, error)

func (*Connection) Close

func (c *Connection) Close() error

func (*Connection) Start

func (c *Connection) Start(secret *[32]byte)

func (*Connection) Write

func (c *Connection) Write(b []byte) (int, error)

Write sends bytes into the voice UDP connection.

Jump to

Keyboard shortcuts

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