rwc

package
v0.0.0-...-20e0bfc Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadWriteCloser

type ReadWriteCloser struct {
	WS *websocket.Conn
	// contains filtered or unexported fields
}

func New

func New(conn *websocket.Conn) *ReadWriteCloser

func (*ReadWriteCloser) Close

func (rwc *ReadWriteCloser) Close() (err error)

func (*ReadWriteCloser) Read

func (rwc *ReadWriteCloser) Read(p []byte) (n int, err error)

func (*ReadWriteCloser) Write

func (rwc *ReadWriteCloser) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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