rss

package
v0.4.17 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RSSHubUMSPath = "format=ums"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Hub

type Hub struct {
	// contains filtered or unexported fields
}

func NewHub

func NewHub(_ context.Context, config *config.File) *Hub

NewHub creates a new rss hub

func (*Hub) GetRSSHubHandler

func (h *Hub) GetRSSHubHandler(c echo.Context) error

GetRSSHubHandler get rsshub data from rsshub node

type Option

type Option struct {
	Authentication OptionAuthentication `json:"authentication" mapstructure:"authentication"`
}

func NewOption

func NewOption(options *config.Parameters) (*Option, error)

type OptionAuthentication

type OptionAuthentication struct {
	AccessKey string `json:"access_key" mapstructure:"access_key"`
}

type Response

type Response struct {
	Data []*activityx.Activity `json:"data"`
}

Jump to

Keyboard shortcuts

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