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 (*ImageProxy) ProcessLink ¶
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)
Click to show internal directories.
Click to hide internal directories.