protocols

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package protocols implements all builtin hookah protocols.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(cmd string) (*node.Node, error)

Exec creates an exec Node

func File

func File(arg string) (*node.Node, error)

File creates a file Node

func Serial

func Serial(arg string) (*node.Node, error)

Serial creates a serial node

func Stderr

func Stderr(path string) (*node.Node, error)

Stderr creates a stderr Node

func Stdin

func Stdin(path string) (*node.Node, error)

Stdin creates a stdin Node

func Stdio

func Stdio(path string) (*node.Node, error)

Stdio creates a stdio Node

func Stdout

func Stdout(path string) (*node.Node, error)

Stdout creates a stdout Node

func TCP

func TCP(addr string) (*node.Node, error)

TCP creates a TCP client node

func TCPListen

func TCPListen(addr string) (*node.Node, error)

TCPListen creates a TCP listener Node

func TLS

func TLS(arg string) (*node.Node, error)

TLS creates a TLS client node

func TLSListen

func TLSListen(arg string) (*node.Node, error)

TLSListen creates a TLS listener Node

func UDP

func UDP(addr string) (*node.Node, error)

UDP creates a UDP client node

func UDPListen

func UDPListen(addr string) (*node.Node, error)

UDPListen creates a UDP listener Node

func UDPMulticast

func UDPMulticast(arg string) (*node.Node, error)

UDPMulticast creates a UDP multicast listener Node

func Unix

func Unix(addr string) (*node.Node, error)

Unix creates a Unix domain socket client Node

func UnixListen

func UnixListen(path string) (*node.Node, error)

UnixListen creates a Unix domain socket listener Node

func WS

func WS(addr string) (*node.Node, error)

WS creates a WebSocket client Node

func WSListen

func WSListen(addr string) (*node.Node, error)

WSListen creates a WebSocket listener Node

func WSS

func WSS(addr string) (*node.Node, error)

WSS creates a secure WebSocket client Node

func WSSListen

func WSSListen(arg string) (*node.Node, error)

WSSListen creates a wss WebSocket listener Node

Types

This section is empty.

Jump to

Keyboard shortcuts

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