Documentation
¶
Overview ¶
queue_fair_echo_service.go
queue_fair_fiber_service.go
Index ¶
- type QueueFairEchoService
- func (s *QueueFairEchoService) AddHeader(name, value string)
- func (s *QueueFairEchoService) GetCookie(name string) string
- func (s *QueueFairEchoService) IsSecure() bool
- func (s *QueueFairEchoService) Redirect(location string)
- func (s *QueueFairEchoService) SetCookie(name, value string, lifetimeSeconds int, domain string)
- type QueueFairFiberService
- func (s *QueueFairFiberService) AddHeader(name, value string)
- func (s *QueueFairFiberService) GetCookie(name string) string
- func (s *QueueFairFiberService) IsSecure() bool
- func (s *QueueFairFiberService) Redirect(location string)
- func (s *QueueFairFiberService) SetCookie(name, value string, lifetimeSeconds int, domain string)
- type QueueFairGinService
- func (s *QueueFairGinService) AddHeader(name string, value string)
- func (s *QueueFairGinService) GetCookie(name string) string
- func (s *QueueFairGinService) IsSecure() bool
- func (s *QueueFairGinService) Redirect(location string)
- func (s *QueueFairGinService) SetCookie(name string, value string, lifetimeSeconds int, domain string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueueFairEchoService ¶
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)
type QueueFairFiberService ¶
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)
type QueueFairGinService ¶
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.
Click to show internal directories.
Click to hide internal directories.