httpserverutils

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindBackend   = `backend`
	KindFrontend  = `frontend`
	ServerKindKey = `HTTP_SERVER_KIND`
)

Variables

This section is empty.

Functions

func GetServerKind

func GetServerKind(e *echo.Echo) string

func GetServerKindByContext

func GetServerKindByContext(ctx echo.Context) string

func IsBackend

func IsBackend(e *echo.Echo) bool

func IsBackendContext

func IsBackendContext(ctx echo.Context) bool

func IsFrontend

func IsFrontend(e *echo.Echo) bool

func IsFrontendContext

func IsFrontendContext(ctx echo.Context) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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