Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Success is the same as EXIT_SUCCESS in C Success = iota // BadArgs passed to cli; not our fault. BadArgs // BadPassword passed to prompt or switch; not our fault. BadPassword // DaemonNotResponding means the daemon does not respond in timely fashion. // Probably our fault. DaemonNotResponding // UnknownError is an uncategorized error, probably our fault. UnknownError )
Variables ¶
This section is empty.
Functions ¶
func Init ¶ added in v0.4.0
func Init(ctx *cli.Context, basePath, owner, password, backendName, ipfsPath string, port int) error
Init creates a new brig repository at `basePath` with `owner`. `password` is used to encrypt it and `backendName` tells `brig` what backend to initialize. The port is the port of the brig daemon.
Types ¶
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text.
|
Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text. |
Click to show internal directories.
Click to hide internal directories.