internal

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	porter.UnimplementedLibrarianPorterServiceServer
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler() *Handler

func (Handler) PullFeed

type PullRSSConfig added in v0.0.6

type PullRSSConfig struct {
	URL string `json:"url" jsonschema:"title=URL"`
}

type RSS

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

func NewRSS

func NewRSS() RSS

func (*RSS) Get

func (s *RSS) Get(url string) (string, error)

func (*RSS) Parse

func (s *RSS) Parse(data string) (*gofeed.Feed, error)

type ServeRSSConfig added in v0.0.6

type ServeRSSConfig struct {
	Title string `json:"title" jsonschema:"title=Title"`
}

type Server added in v0.0.6

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

func NewServer added in v0.0.6

func NewServer(porter *tuihub.Porter) (*Server, error)

func (*Server) Run added in v0.0.6

func (s *Server) Run(addr string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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