client

package
Version: v0.0.0-...-1730ba2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package client groups the connections from the Qaclana Server to the external services like the backend

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	OnConnect func()
	// contains filtered or unexported fields
}

Client represents a client connection to the backend

func NewClient

func NewClient(backend string) *Client

NewClient constructs a new client to connect to the backend

func (*Client) Close

func (c *Client) Close()

Close the underlying connection for this client

func (*Client) Start

func (c *Client) Start()

Start a new connection on a new client

Source Files

Jump to

Keyboard shortcuts

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