request

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseService

type BaseService struct{}

BaseService provides common request handling utilities that can be embedded and specialized

func NewBaseService

func NewBaseService() *BaseService

NewBaseService creates a new base request service

func (*BaseService) GenerateRequestID

func (s *BaseService) GenerateRequestID() string

GenerateRequestID creates a new random request ID

func (*BaseService) GetRequestID

func (s *BaseService) GetRequestID(c *fiber.Ctx) string

GetRequestID extracts or generates a request ID from the context

func (*BaseService) SetRequestID

func (s *BaseService) SetRequestID(c *fiber.Ctx, requestID string)

SetRequestID sets the request ID in the context locals

Jump to

Keyboard shortcuts

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