ginga

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TcpBufSize = 8192
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Token    string
	Endpoint string
	Nonce    string
	// contains filtered or unexported fields
}

func (*Client) Lock

func (cls *Client) Lock() error

func (*Client) Unlock

func (cls *Client) Unlock() error

type Data

type Data struct {
	Timestamp int    `json:"timestamp"`
	Signature string `json:"signature"`
	Nonce     string `json:"nonce"`
	Lock      bool   `json:"lock"`
}

Jump to

Keyboard shortcuts

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