transport

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2015 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWsClient

func NewWsClient(serial serializer.Serializer) (wsc wsClient)

func NewWsServer

func NewWsServer(serial serializer.Serializer) (ws wsServer)

Types

type Client

type Client interface {
	Connect(string) (*wamp.Client, error)
	ConnectTLS(string, *tls.Config) (*wamp.Client, error)
}

type Config

type Config struct {
	Addr    string
	Scheme  string
	TLS     bool
	TLSCert string
	TLSKey  string
}

type TCP

type TCP struct {
	// contains filtered or unexported fields
}

func NewTCP

func NewTCP() (t TCP)

func NewUnixDomain

func NewUnixDomain() (t TCP)

func (TCP) Serve

func (t TCP) Serve(conf *Config)

type Transport

type Transport interface {
	Serve(*Config)
}

Jump to

Keyboard shortcuts

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