Documentation
¶
Index ¶
- func MigrateAddMethod(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateAppTestConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateCORSConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateCSRFConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateConfigListenerFields(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateContextMethods(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateEnvVarConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateFilesystemMiddleware(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateGenericHelpers(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateHandlerSignatures(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateHealthcheckConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateLimiterConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateListenMethods(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateListenerCallbacks(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateLoggerTags(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateMiddlewareLocals(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateMimeConstants(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateMonitorImport(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateMount(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateParserMethods(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateProxyTLSConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateRedirectMethods(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateReqHeaderParser(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateSessionConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateStaticRoutes(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateTrustedProxyConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateViewBind(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateAddMethod ¶
MigrateAddMethod adapts the Add method signature
func MigrateAppTestConfig ¶
MigrateAppTestConfig updates app.Test calls to use the new TestConfig parameter
func MigrateCORSConfig ¶
MigrateCORSConfig updates cors middleware configuration fields
func MigrateCSRFConfig ¶
MigrateCSRFConfig updates csrf middleware configuration fields
func MigrateConfigListenerFields ¶
MigrateConfigListenerFields updates config fields that have been moved or renamed in Fiber v3. It renames Prefork and Network fields and adapts them to the new listener configuration fields.
func MigrateContextMethods ¶
MigrateContextMethods updates context related methods to the new names
func MigrateEnvVarConfig ¶
MigrateEnvVarConfig removes deprecated ExcludeVars field from envvar middleware configuration
func MigrateFilesystemMiddleware ¶
MigrateFilesystemMiddleware replaces deprecated filesystem middleware with static middleware
func MigrateGenericHelpers ¶
MigrateGenericHelpers migrates helper functions that now use generics
func MigrateHealthcheckConfig ¶
MigrateHealthcheckConfig updates healthcheck middleware configuration fields
func MigrateLimiterConfig ¶
MigrateLimiterConfig updates limiter middleware configuration fields
func MigrateListenMethods ¶
MigrateListenMethods replaces removed Listen helpers with Listen
func MigrateListenerCallbacks ¶
MigrateListenerCallbacks removes deprecated OnShutdown callbacks from ListenerConfig. Fiber v3 replaces these with the OnPostShutdown hook.
func MigrateLoggerTags ¶
MigrateLoggerTags updates deprecated logger tag constants
func MigrateMiddlewareLocals ¶
MigrateMiddlewareLocals replaces Locals lookups for middleware data with helper functions
func MigrateMimeConstants ¶
MigrateMimeConstants updates deprecated MIME constants
func MigrateMonitorImport ¶
MigrateMonitorImport updates monitor middleware import path
func MigrateMount ¶
MigrateMount replaces app.Mount with app.Use
func MigrateParserMethods ¶
MigrateParserMethods replaces deprecated parser helper methods with the new binding API
func MigrateProxyTLSConfig ¶
MigrateProxyTLSConfig updates proxy TLS helper to new client configuration
func MigrateRedirectMethods ¶
MigrateRedirectMethods updates redirect helper methods to the new API
func MigrateReqHeaderParser ¶
MigrateReqHeaderParser replaces the deprecated ReqHeaderParser helper with the new binding API
func MigrateSessionConfig ¶
MigrateSessionConfig updates session middleware configuration fields
func MigrateStaticRoutes ¶
MigrateStaticRoutes replaces app.Static calls with static middleware
func MigrateTrustedProxyConfig ¶
MigrateTrustedProxyConfig updates trusted proxy configuration options
Types ¶
This section is empty.