From 4d5b43b9fb9e053fc0e81b53c45882f921aa91f5 Mon Sep 17 00:00:00 2001 From: eleven26 Date: Fri, 15 Jul 2022 10:56:16 +0800 Subject: [PATCH] fix comments --- context/configuration.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/context/configuration.go b/context/configuration.go index 7d89f7f189..a961e6f9fc 100644 --- a/context/configuration.go +++ b/context/configuration.go @@ -20,9 +20,9 @@ type ConfigurationReadOnly interface { GetSocketSharding() bool // GetKeepAlive returns the KeepAlive field. GetKeepAlive() time.Duration - // GetKeepAlive returns the Timeout field. + // GetTimeout returns the Timeout field. GetTimeout() time.Duration - // GetKeepAlive returns the TimeoutMessage field. + // GetTimeoutMessage returns the TimeoutMessage field. GetTimeoutMessage() string // GetDisablePathCorrection returns the DisablePathCorrection field GetDisablePathCorrection() bool @@ -38,7 +38,7 @@ type ConfigurationReadOnly interface { GetFireMethodNotAllowed() bool // GetDisableAutoFireStatusCode returns the DisableAutoFireStatusCode field. GetDisableAutoFireStatusCode() bool - // ResetOnFireErrorCode retruns the ResetOnFireErrorCode field. + // GetResetOnFireErrorCode returns the ResetOnFireErrorCode field. GetResetOnFireErrorCode() bool // GetEnableOptimizations returns the EnableOptimizations field. @@ -60,7 +60,7 @@ type ConfigurationReadOnly interface { // GetPostMaxMemory returns the PostMaxMemory field. GetPostMaxMemory() int64 - // GetTranslateLanguageContextKey returns the LocaleContextKey field. + // GetLocaleContextKey returns the LocaleContextKey field. GetLocaleContextKey() string // GetLanguageContextKey returns the LanguageContextKey field. GetLanguageContextKey() string