Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// ID returns a unique identifier for the option.
ID() string
// Order returns the order in which this option should be applied relative to other options.
Order() int
// Apply applies the option's configuration to the given Gin engine.
// It returns an error if the application fails.
Apply(engine *gin.Engine) error
}
Option defines an interface for configuring a Gin engine.
Click to show internal directories.
Click to hide internal directories.