Documentation
¶
Overview ¶
Package flockcli implements the versioned, non-interactive Flock interface.
Index ¶
Constants ¶
const Release = "0.1.0"
Release identifies the Flock distribution, independently of the event schema.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type File struct {
Path string `json:"path"`
Size int64 `json:"bytes"`
SHA256 string `json:"sha256"`
}
File identifies the exact bytes the recipient must verify before completion.
type Invitation ¶
type Invitation struct {
Version int `json:"version"`
Transport string `json:"transport"`
Capability string `json:"capability"`
Relay string `json:"relay"`
Expires int64 `json:"expires"`
Files []File `json:"files"`
Directories []string `json:"directories"`
}
Invitation is an expiring bearer capability, intended for trusted agent handoff.