app

package
v0.0.0-...-711899d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Run starts the server.

func RunWithConfig

func RunWithConfig(config *Config, password, dataDirPath string) error

Types

type Config

type Config struct {
	BaseURL     string
	Port        int
	Feeds       []feed.Feed
	UpdateTimes []int
}

type JSONConfig

type JSONConfig struct {
	BaseURL     string                     `json:"base_url"`
	Password    string                     `json:"password"`
	Port        int                        `json:"port"`
	Feeds       map[string]json.RawMessage `json:"feeds"`
	UpdateTimes []int                      `json:"update_times"`
}

type TypedConfig

type TypedConfig struct {
	Type string `json:"type"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL