token

package
v1.236.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler added in v1.218.0

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

Handler for token.

func NewHandler added in v1.218.0

func NewHandler(verifier token.Verifier) *Handler

NewHandler for token.

func (*Handler) ServeHTTP added in v1.218.0

func (h *Handler) ServeHTTP(res http.ResponseWriter, req *http.Request, next http.HandlerFunc)

type RoundTripper

type RoundTripper struct {
	http.RoundTripper
	// contains filtered or unexported fields
}

RoundTripper for token.

func NewRoundTripper

func NewRoundTripper(gen token.Generator, hrt http.RoundTripper) *RoundTripper

NewRoundTripper for token.

func (*RoundTripper) RoundTrip

func (r *RoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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