queuefair

package
v2.6.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

queue_fair_echo_service.go

queue_fair_fiber_service.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueueFairEchoService

type QueueFairEchoService struct {
	Ctx echo.Context
	// contains filtered or unexported fields
}

func NewQueueFairEchoService

func NewQueueFairEchoService(c echo.Context, isSecure bool) *QueueFairEchoService

func (*QueueFairEchoService) AddHeader

func (s *QueueFairEchoService) AddHeader(name, value string)

func (*QueueFairEchoService) GetCookie

func (s *QueueFairEchoService) GetCookie(name string) string

func (*QueueFairEchoService) IsSecure

func (s *QueueFairEchoService) IsSecure() bool

func (*QueueFairEchoService) Redirect

func (s *QueueFairEchoService) Redirect(location string)

func (*QueueFairEchoService) SetCookie

func (s *QueueFairEchoService) SetCookie(name, value string, lifetimeSeconds int, domain string)

type QueueFairFiberService

type QueueFairFiberService struct {
	Ctx *fiber.Ctx
	// contains filtered or unexported fields
}

func NewQueueFairFiberService

func NewQueueFairFiberService(c *fiber.Ctx, isSecure bool) *QueueFairFiberService

func (*QueueFairFiberService) AddHeader

func (s *QueueFairFiberService) AddHeader(name, value string)

func (*QueueFairFiberService) GetCookie

func (s *QueueFairFiberService) GetCookie(name string) string

func (*QueueFairFiberService) IsSecure

func (s *QueueFairFiberService) IsSecure() bool

func (*QueueFairFiberService) Redirect

func (s *QueueFairFiberService) Redirect(location string)

func (*QueueFairFiberService) SetCookie

func (s *QueueFairFiberService) SetCookie(name, value string, lifetimeSeconds int, domain string)

type QueueFairGinService

type QueueFairGinService struct {
	Ctx *gin.Context
	// contains filtered or unexported fields
}

QueueFairGinService wraps a gin.Context for use by the QueueFairAdapter.

func NewQueueFairGinService

func NewQueueFairGinService(c *gin.Context, isSecure bool) *QueueFairGinService

NewQueueFairGinService creates a new QueueFairGinService from a Gin context.

func (*QueueFairGinService) AddHeader

func (s *QueueFairGinService) AddHeader(name string, value string)

AddHeader adds a header to the Gin context.

func (*QueueFairGinService) GetCookie

func (s *QueueFairGinService) GetCookie(name string) string

GetCookie retrieves a cookie value.

func (*QueueFairGinService) IsSecure

func (s *QueueFairGinService) IsSecure() bool

func (*QueueFairGinService) Redirect

func (s *QueueFairGinService) Redirect(location string)

Redirect issues a 302 redirect.

func (*QueueFairGinService) SetCookie

func (s *QueueFairGinService) SetCookie(name string, value string, lifetimeSeconds int, domain string)

SetCookie sets a cookie on the Gin context's response.

Jump to

Keyboard shortcuts

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