http

package
v0.8.0-beta.11 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 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 DefaultRequestParser

type DefaultRequestParser struct {
}

func (*DefaultRequestParser) GetInput

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

func (*DefaultRequestParser) GetSessionId

func (rp *DefaultRequestParser) GetSessionId(ctx context.Context, 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)

func (*SessionHandler) WriteError

func (f *SessionHandler) WriteError(w http.ResponseWriter, code int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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