nxgo

package module
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: BSD-2-Clause Imports: 11 Imported by: 0

README

#nxgo GoDoc GoLang Nexus client library.

Download:

go get github.com/nayarsystems/nxgo

##Description

Nexus client library for Go.

Package nxgo just provides a Dial() method returning a NexusConn instance.

All nexus functionality and methods of NexusConn are found in package nxcore.

More info in nxcore godoc: GoDoc.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrVersionIncompatible = fmt.Errorf("incompatible version")
View Source
var Version = &nxcore.NxVersion{
	Major: 1,
	Minor: 8,
	Patch: 1,
}

Functions

func Dial

func Dial(s string, opts *DialOptions) (*nxcore.NexusConn, error)

Types

type DialOptions

type DialOptions struct {
	WsConfig    *websocket.Config
	TlsConfig   *tls.Config
	DialTimeout time.Duration
	PingTimeout time.Duration
}

func NewDialOptions

func NewDialOptions() *DialOptions

Directories

Path Synopsis
demos

Jump to

Keyboard shortcuts

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