redirect

package
v0.0.0-...-e5b538e Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	Scheme string
	Code   string
	State  string
}

func DecodeRedirect

func DecodeRedirect(u *url.URL) *Params

type Server

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

func Init

func Init(port uint, redirectHandler func(*Params) error) *Server

func (*Server) Serve

func (s *Server) Serve()

Jump to

Keyboard shortcuts

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