links

package
v0.0.0-...-7558b7c Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

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

func NewHandlers

func NewHandlers(logger *log.Logger, serverAddress string, storeAddress string, dnsName string, apipath string) *Handlers

func (*Handlers) LinkRoutes

func (l *Handlers) LinkRoutes(mux *mux.Router)
func (l *Handlers) Links(w http.ResponseWriter, r *http.Request)

func (*Handlers) Logger

func (l *Handlers) Logger(next http.HandlerFunc) http.HandlerFunc

func (*Handlers) Proxy

func (l *Handlers) Proxy(w http.ResponseWriter, r *http.Request)

Proxy traffic to url base on shortUrl

Jump to

Keyboard shortcuts

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