info

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	// Cookie to show.
	Cookie string `cfg:"cookie"`
	// Session cookie.
	Session bool `cfg:"session"`
	// SessionMiddleware to use, default is "session".
	SessionMiddleware string `cfg:"session_middleware"`
	// SessionValueName to get from session, default is "token".
	SessionValueName string `cfg:"session_value_name"`
	// Base64 decode when reading cookie.
	Base64 bool `cfg:"base64"`
	// Raw cookie to show
	Raw bool `cfg:"raw"`
	// contains filtered or unexported fields
}

func (*Info) Init added in v0.8.3

func (m *Info) Init() error

func (*Info) Middleware

func (s *Info) Middleware() func(http.Handler) http.Handler

Jump to

Keyboard shortcuts

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