api

package
v0.0.0-...-3fb6a18 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSSHPrivateKey = "$HOME/.ssh/id_rsa"
	DefaultDaemonAddress = "127.0.0.1:9001"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ArithRequest

type ArithRequest struct {
	UserName   string
	NodeID     peer.ID
	Password   string
	PrivateKey []byte
	Width      int
	Height     int
}

type ClientConfig

type ClientConfig struct {
	UserName   string
	NodeID     peer.ID
	Password   string
	PrivateKey []byte
	Width      int
	Height     int
}

type ConnectAddRequests

type ConnectAddRequests struct {
	PeerAddr peer.AddrInfo
}

type ConnectAddResponses

type ConnectAddResponses struct {
	Result string
	Err    string
}

type ConnectRequests

type ConnectRequests struct {
}

type ConnectResponses

type ConnectResponses struct {
	Peers []peer.ID
}

type ConnectRmRequests

type ConnectRmRequests struct {
	Peer peer.ID
}

type ConnectRmResponses

type ConnectRmResponses ConnectAddResponses

Jump to

Keyboard shortcuts

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