Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldEnableExpressionRoutes ¶
func ShouldEnableExpressionRoutes(rf RouterFlavor) bool
Types ¶
type DBMode ¶
type DBMode string
func (DBMode) IsDBBacked ¶
IsDBBacked returns true if the gateway is DB backed. reverse of IsDBLessMode for readability.
func (DBMode) IsDBLessMode ¶
IsDBLessMode can be used to detect the proxy mode (db or dbless).
type RouterFlavor ¶
type RouterFlavor string
const ( RouterFlavorTraditional RouterFlavor = "traditional" RouterFlavorTraditionalCompatible RouterFlavor = "traditional_compatible" RouterFlavorExpressions RouterFlavor = "expressions" )
Click to show internal directories.
Click to hide internal directories.