request

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CtxKey

type CtxKey string
const (
	SessionCtxKey   CtxKey = CtxKey("sessionCtx")
	RequestIdCtxKey CtxKey = CtxKey("requestIdCtx")
)

type RequestIdCtx

type RequestIdCtx struct {
	RequestId string
}

func NewRequestIdCtx

func NewRequestIdCtx(requestId string) *RequestIdCtx

type SessionCtx

type SessionCtx struct {
	Username string
	UserId   string
}

func NewSessionCtx

func NewSessionCtx(username, userId string) *SessionCtx

Jump to

Keyboard shortcuts

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