1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-23 04:47:02 +00:00

new Timeout, TimeoutMessage configuration fields and apps.OnApplicationRegistered listener

This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-12-09 14:44:03 +02:00
parent 968a9ec06c
commit d6cfe3fe5b
9 changed files with 124 additions and 7 deletions

View File

@@ -20,6 +20,10 @@ type ConfigurationReadOnly interface {
GetSocketSharding() bool
// GetKeepAlive returns the KeepAlive field.
GetKeepAlive() time.Duration
// GetKeepAlive returns the Timeout field.
GetTimeout() time.Duration
// GetKeepAlive returns the TimeoutMessage field.
GetTimeoutMessage() string
// GetDisablePathCorrection returns the DisablePathCorrection field
GetDisablePathCorrection() bool
// GetDisablePathCorrectionRedirection returns the DisablePathCorrectionRedirection field.