feed

package
v0.0.0-...-8f9ce2e Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidFormat = errors.New("Invalid feed format")
)

Functions

func Configure

func Configure(l *goapp.Lifecycle, conf *config.Config)

func GetEmbedFS

func GetEmbedFS() embed.FS

Types

type Feed

type Feed struct {
	Title       string        `json:"title"`
	Description string        `json:"description"`
	Index       *search.Index `json:"index"`
}

type FeedHandler

type FeedHandler struct {
}

func (*FeedHandler) GetStruct

func (h *FeedHandler) GetStruct() (base.NodeData, base.NodeMeta)

type FeedViewHandler

type FeedViewHandler struct {
	Search  *search.SearchPGSQL
	Manager base.NodeManager
}

func (*FeedViewHandler) Execute

func (v *FeedViewHandler) Execute(node *base.Node, request *base.ViewRequest, response *base.ViewResponse) error

func (*FeedViewHandler) Support

func (v *FeedViewHandler) Support(node *base.Node, request *base.ViewRequest, response *base.ViewResponse) bool

Jump to

Keyboard shortcuts

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