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
Click to show internal directories.
Click to hide internal directories.