mirror of
https://github.com/Quad4-Software/Reticulum-Go
synced 2026-08-29 23:48:44 -04:00
20 lines
634 B
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
|
|
}
|