modules

package
v0.0.0-...-ff7fbe2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageProxy

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

func NewImageProxy

func NewImageProxy(cfg *types.ConfigImageProxy, l *zap.Logger) *ImageProxy

func (*ImageProxy) Path

func (p *ImageProxy) Path() string

func (*ImageProxy) ProcessHTML

func (p *ImageProxy) ProcessHTML(contentWithoutProxy string, host string, platform string) string
func (p *ImageProxy) ProcessLink(src string, host string, platform string) string

func (*ImageProxy) Proxy

func (p *ImageProxy) Proxy(c echo.Context) error

type LoadBalancer

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

func NewLoadBalancer

func NewLoadBalancer(list types.ConfigRSSHubList, timeout time.Duration, l *zap.Logger) (*LoadBalancer, error)

func (*LoadBalancer) Fetch

func (lb *LoadBalancer) Fetch(reqUrl string, platform string) (*feeds.Feed, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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