http

package
v0.5.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: AGPL-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 ATSessionHandler

type ATSessionHandler struct {
	*SessionHandler
}

func NewATSessionHandler

func NewATSessionHandler(h handlers.RequestHandler) *ATSessionHandler

func (*ATSessionHandler) Output

func (*ATSessionHandler) ServeHTTP

func (ash *ATSessionHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

type DefaultRequestParser

type DefaultRequestParser struct {
}

func (*DefaultRequestParser) GetInput

func (rp *DefaultRequestParser) GetInput(rq any) ([]byte, error)

func (*DefaultRequestParser) GetSessionId

func (rp *DefaultRequestParser) GetSessionId(rq any) (string, error)

type SessionHandler

type SessionHandler struct {
	handlers.RequestHandler
}

func ToSessionHandler

func ToSessionHandler(h handlers.RequestHandler) *SessionHandler

func (*SessionHandler) ServeHTTP

func (f *SessionHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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