Documentation ¶
Index ¶
Constants ¶
View Source
const Namespace = "moritzploss/deprecator"
Variables ¶
This section is empty.
Functions ¶
func HandlerFactory ¶
func HandlerFactory(next krakendgin.HandlerFactory) krakendgin.HandlerFactory
Types ¶
type Config ¶
type Config struct { Sunset time.Time `json:"sunset"` Deprecate time.Time `json:"deprecate"` HeadsUp HeadsUp `json:"heads_up"` Response Response `json:"response"` }
func ConfigGetter ¶
func ConfigGetter(e config.ExtraConfig) (*Config, bool)
type Rejector ¶
func RejectorFactory ¶
Click to show internal directories.
Click to hide internal directories.