remote

package
v1.11.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CONTENT_TYPE_ANY         = ""
	CONTENT_TYPE_BINARY      = "application/octet-stream"
	CONTENT_TYPE_CSV         = "text/csv"
	CONTENT_TYPE_JSON        = "application/json"
	SIZE_KEY_BYTES           = 64
	TWO_TIMES_SIZE_KEY_BYTES = 2 * SIZE_KEY_BYTES
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection interface {
	Login(name string, password string) (Session, error)
}

* A connection to a remote host.

func CreateConnection

func CreateConnection(host string, port uint16) Connection

* Creates a new connection to a remote host.

type Session

type Session interface {
	ExportActivityCsv() (io.ReadCloser, error)
	ExportGeodata(format string) (io.ReadCloser, error)
	ImportGeodata(format string, strategy string, data io.ReadSeeker) error
	Logout() error
}

* An authenticated session on a remote host.

Jump to

Keyboard shortcuts

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