mirror

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MirrorMiddleware

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

func NewMiddleware

func NewMiddleware(options Options) *MirrorMiddleware

func (*MirrorMiddleware) Run

func (m *MirrorMiddleware) Run()

func (*MirrorMiddleware) ServeHTTP

func (m *MirrorMiddleware) ServeHTTP(ctx context.Context, c *app.RequestContext)

type Options

type Options struct {
	ServiceID string `mapstructure:"service_id"`
}

Jump to

Keyboard shortcuts

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