client

package
v0.0.0-...-f53f79a Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// Conn represents the readable and writeable connection that links to
	// the client. This may be a net.Conn, or even just a bytes.Buffer.
	Conn io.ReadWriter
}

Client represents a client connected to a RTMP server (see github.com/WatchBeam/rtmp/server for more). Clients are able to be written to and read from, and may have additional metadata attached to them in the future.

func New

func New(conn io.ReadWriter) *Client

New instantiates and returns a pointer to a new instance of type Client. The client is initialized with the given connection.

Jump to

Keyboard shortcuts

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