package
0.13.994-experimental
Repository: https://github.com/lightninglabs/lightning-terminal.git
Documentation: pkg.go.dev

# Functions

DeserializeSession deserializes a session from the given reader, expecting the data to be encoded in the tlv format.
IDFromMacRootKeyID converts a macaroon root key ID to a session ID.
MigrateSessionIDToKeyIndex back-fills the session ID to key index so that it has an entry for all sessions that the session store is currently aware of.
NewSession creates a new session with the given user-defined parameters.
NewSuperMacaroonRootKeyID returns a new macaroon root key ID that has the prefix to mark it as a super macaroon root key.
SerializeSession binary serializes the given session to the writer using the tlv format.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrDBInitErr is returned when a bucket that we expect to have been set up during DB initialisation is not found.
SuperMacaroonRootKeyPrefix is the prefix we set on a super macaroon's root key to clearly mark it as such.

# Structs

MacaroonRecipe defines the permissions and caveats that should be used to bake a macaroon.
Session is a struct representing a long-term Terminal Connect session.

# Type aliases

FeaturesConfig is a map from feature name to a raw byte array which stores any config feature config options.
ID represents the id of a session.
State represents the state of a session.
Type represents the type of session.