Skip to content

Commit

Permalink
Config comments (#2520)
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero authored Feb 16, 2024
1 parent b8a1a29 commit 76700e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ import (
// mirror is neither readable or writable, or a storage type is not specified,
// then the mirror is not used.
type Mirror struct {
// Read specifies to read advertisement content from the mirror.
// Read specifies to read advertisement content from the Retrieval mirror.
Read bool
// Write specifies to write advertisement content to the mirror.
// Write specifies to write advertisement content to the Storage mirror.
Write bool
// Compress specifies how to compress files. One of: "gzip", "none".
// Defaults to "gzip" if unspecified.
Compress string
// Storage configures the backing file store for the mirror write operations.
Storage filestore.Config
// Retrieval configures the backing file store for the mirror read operations.
// Retrieval configures the backing file store for mirror read operations.
Retrieval filestore.Config
// Storage configures the backing file store for mirror write operations.
Storage filestore.Config
}

// NewMirror returns Mirror with values set to their defaults.
Expand Down

0 comments on commit 76700e9

Please sign in to comment.