ws

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: Apache-2.0 Imports: 9 Imported by: 12

Documentation

Overview

Package ws provides a functionality similar to Go net package on top of WebSockets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(addr string) (net.Conn, error)

Dial connects to a WebSocket on a specified URL.

func Listen

func Listen(addr string, def http.Handler) (net.Listener, error)

Listen listens for incoming connections on a given URL and server other requests with def handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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