client

package
v0.0.0-...-0992052 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

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
}

Client handle connection to game history archiver.

func New

func New(pokePort int, achiverAdr string) (c *Client, err error)

New create client that handles connection to an archiver.

func (*Client) Archive

func (c *Client) Archive(hist *bg.Hist)

Archive send a game history to the archiver.

func (*Client) Start

func (c *Client) Start()

Start stars the connection to archiver.

func (*Client) Stop

func (c *Client) Stop()

Stop stops the connection to the archiver.

Jump to

Keyboard shortcuts

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