routes

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion(c *gin.Context)

Types

type Health

type Health struct {
	TerminatingStatusCode int `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Health) ServeHTTP

func (h *Health) ServeHTTP(c *gin.Context)

func (*Health) SetDefaults

func (h *Health) SetDefaults()

func (*Health) WithContext

func (h *Health) WithContext(ctx context.Context)

type ServeStrategy

type ServeStrategy struct {
	SessionsManager sessions.Manager
	StrategyConfig  config.Strategy
	SessionsConfig  config.Sessions
	// contains filtered or unexported fields
}

func NewServeStrategy

func NewServeStrategy(sessionsManager sessions.Manager, strategyConf config.Strategy, sessionsConf config.Sessions) *ServeStrategy

func (*ServeStrategy) ServeBlocking

func (s *ServeStrategy) ServeBlocking(c *gin.Context)

func (*ServeStrategy) ServeDynamic

func (s *ServeStrategy) ServeDynamic(c *gin.Context)

func (*ServeStrategy) ServeDynamicThemes

func (s *ServeStrategy) ServeDynamicThemes(c *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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