filter

package
v0.0.0-...-5365f31 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package filter implements a content filter to rewrite image links.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageProxyFilter

func ImageProxyFilter(router *mux.Router, cfg *config.Config, data string) string

ImageProxyFilter rewrites image tag URLs to local proxy URL (by default only non-HTTPS URLs)

func Proxify

func Proxify(router *mux.Router, link string) string

Proxify returns a proxified link.

Types

This section is empty.

Jump to

Keyboard shortcuts

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