Documentation
¶
Overview ¶
Package app defines the generic App interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidLength = errors.New("string representation must have a length of 32")
)
Functions ¶
func ParseAppID ¶ added in v0.4.0
Types ¶
type Paths ¶ added in v0.4.0
type Paths struct { string `json:"share_path"` // XDG_RUNTIME_DIR value (usually `/run/user/%d`) RuntimePath string `json:"runtime_path"` // application runtime directory (usually `/run/user/%d/fortify`) RunDirPath string `json:"run_dir_path"` }SharePath
Paths contains environment-dependent paths used by fortify.
type RunState ¶ added in v0.2.10
type RunState struct { // Time is the exact point in time where the process was created. // Location must be set to UTC. // // Time is nil if no process was ever created. Time *time.Time // RevertErr is stored by the deferred revert call. RevertErr error // WaitErr is the generic error value created by the standard library. WaitErr error syscall.WaitStatus }
RunState stores the outcome of a call to [SealedApp.Run].
Click to show internal directories.
Click to hide internal directories.