# Packages
No description provided by the author
# Functions
GetOSLFilename returns an appropriate filename for the resumable download destination for the OSL file.
GetOSLFileURL returns the URL for an OSL file.
GetOSLRegistryFilename returns an appropriate filename for the resumable download destination for the OSL registry.
GetOSLRegistryURL returns the URL for an OSL registry.
LoadConfig loads, validates, and initializes a JSON encoded OSL configuration.
NewConfig initializes a Config with the settings in the specified file.
NewOSLReader decrypts, authenticates and streams an OSL payload.
NewRegistryStreamer creates a new RegistryStreamer.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ClientSeedPortForward map a client port forward, which is relaying traffic to a specific upstream address, to all seed state progress counters for SeedSpecs with subnets containing the upstream address.
ClientSeedProgress tracks client progress towards seeding SLOKs for a particular scheme.
ClientSeedState tracks the progress of a client towards seeding SLOKs across all schemes the client qualifies for.
Config is an OSL configuration, which consists of a list of schemes.
KeyShares is a tree data structure which describes the key splits used to divide a secret key.
KeySplit defines a secret key splitting scheme where the secret is split into n (total) shares and any K (threshold) of N shares must be known to recostruct the split secret.
An OSLFileSpec includes an ID which is used to reference the OSL file and describes the key splits used to divide the OSL file key along with the SLOKs required to reassemble those keys.
PaveFile describes an OSL data file to be paved to an out-of-band distribution drop site.
No description provided by the author
Registry describes a set of OSL files.
RegistryStreamer authenticates and processes a JSON encoded OSL registry.
Scheme defines a OSL seeding and distribution strategy.
SeedPayload is the list of seeded SLOKs sent to a client.
SeedSpec defines a client traffic pattern that results in a seeded SLOK.
SLOK is a seeded SLOK issued to a client.
TrafficValues defines a client traffic level that seeds a SLOK.
# Type aliases
SLOKLookup is a callback to lookup SLOK keys by ID.