MCPcopy
hub / github.com/benbjohnson/litestream / Leaser

Struct Leaser

s3/leaser.go:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42type Leaser struct {
43 s3 S3API
44 logger *slog.Logger
45
46 Bucket string
47 Path string
48 TTL time.Duration
49 Owner string
50}
51
52func NewLeaser() *Leaser {
53 owner, _ := os.Hostname()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected