Documentation ¶ Index ¶ func NewTransport(opts *Options) (t transport.Transport, err error) type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewTransport ¶ func NewTransport(opts *Options) (t transport.Transport, err error) Types ¶ type Options ¶ type Options struct { // TODO: Config *yamux.Config // TODO: // If nil, no encryption. TLSConfig *tls.Config // The network type. Defaults to 'tcp'. Network string } Source Files ¶ View all Source files listener.go options.go session.go stream.go transport.go Click to show internal directories. Click to hide internal directories.