model

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package model defines the core data structures for agent-rss.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feed

type Feed struct {
	Name string `json:"name"`
	Src  string `json:"src"`
}

Feed represents a subscription entry.

type Item

type Item struct {
	Name    string    `json:"name"`
	Src     string    `json:"src"`
	Time    time.Time `json:"time"`
	Title   string    `json:"title"`
	Content string    `json:"content"`
	Link    string    `json:"link"`
	ID      string    `json:"id"`
}

Item represents a single RSS/Atom item with associated feed metadata.

Jump to

Keyboard shortcuts

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