client

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Go driver for CardinalityCube Server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

A Client connects to existing Cardinality Cube Server and executes command on this server.

func NewClient

func NewClient(endpoint string) (*Client, error)

NewClient returns a new client

func (*Client) Close

func (c *Client) Close()

Close closes connection

func (*Client) Execute

func (c *Client) Execute(command string, args ...string) (reply string, err error)

Execute executes given command on server and returns the result in synchronized fashion.

Jump to

Keyboard shortcuts

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