Reticulum-Go/pkg/pageserver/options.go

20 lines
634 B
Go

// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2024-2026 Quad4.io
package pageserver
import "time"
// Options are runtime paths and intervals for the page node (from CLI flags).
type Options struct {
PagesDir string
FilesDir string
PageRefreshInterval time.Duration
FileRefreshInterval time.Duration
AnnounceIntervalMinutes int
IdentityFileOverride string
NodeDisplayName string
// DisablePageStats omits the built-in /page/__pageviews.mu handler and skips
// recording view counts. A static pages/__pageviews.mu file can still be served.
DisablePageStats bool
}