server

package
v0.0.0-...-93fcf36 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*http.ServeMux

	Parser *gofeed.Parser
	// contains filtered or unexported fields
}

func NewServer

func NewServer(db *sqlx.DB, refresher *refresh.Task) *Server

type SubscribeRequest

type SubscribeRequest struct {
	URL string `json:"url" validate:"required,http_url"`
	// Optional title and description which override those from the feed
	Title       string `json:"title"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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