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.
Click to show internal directories.
Click to hide internal directories.