driver

package
v0.0.0-...-f63e2ce Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConnClosed = errors.New("connection was closed")

Functions

func NewWsDriver

func NewWsDriver(addr string, token string) *wsDriver

Types

type Driver

type Driver interface {
	Run() error
	Write([]byte) error
	Read() ([]byte, error)
	Stop() error
}

Jump to

Keyboard shortcuts

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