Documentation
¶
Index ¶
- func MigrateAddMethod(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateAppTestConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateBasicauthAuthorizer(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateBasicauthConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateBasicauthStorePassword(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 MigrateCacheConfig(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 MigrateKeyAuthConfig(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 MigrateSessionExtractor(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateShutdownHook(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateStaticRoutes(cmd *cobra.Command, cwd string, _, _ *semver.Version) error
- func MigrateTimeoutConfig(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 MigrateBasicauthAuthorizer ¶ added in v0.2.0
MigrateBasicauthAuthorizer updates inline basicauth authorizer functions to include the context parameter
func MigrateBasicauthConfig ¶ added in v0.2.0
MigrateBasicauthConfig adapts basicauth configuration to the new API * removes ContextUsername and ContextPassword fields * hashes plaintext Users entries using SHA-256
func MigrateBasicauthStorePassword ¶ added in v0.2.0
MigrateBasicauthStorePassword comments usages of the removed StorePassword option in basicauth middleware configuration.
func MigrateCORSConfig ¶
MigrateCORSConfig updates cors middleware configuration fields
func MigrateCSRFConfig ¶
MigrateCSRFConfig updates csrf middleware configuration fields
func MigrateCacheConfig ¶ added in v0.2.0
MigrateCacheConfig updates cache 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 and usage to the new Fiber v3 handler based API. It replaces the old middleware usage
app.Use(healthcheck.New(...))
with explicit registrations using `app.Get` on the liveness and readiness endpoints and adapts the configuration structure.
func MigrateKeyAuthConfig ¶ added in v0.2.0
MigrateKeyAuthConfig updates keyauth middleware configuration to use Extractor instead of KeyLookup/AuthScheme and removes the deprecated 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 MigrateSessionExtractor ¶ added in v0.2.0
MigrateSessionExtractor updates session KeyLookup to the new Extractor pattern
func MigrateShutdownHook ¶ added in v0.2.0
MigrateShutdownHook updates the deprecated OnShutdown hook to OnPostShutdown and adapts inline hook functions to accept the error parameter.
func MigrateStaticRoutes ¶
MigrateStaticRoutes replaces app.Static calls with static middleware
func MigrateTimeoutConfig ¶ added in v0.2.0
MigrateTimeoutConfig updates timeout middleware usage to the new Config parameter
func MigrateTrustedProxyConfig ¶
MigrateTrustedProxyConfig updates trusted proxy configuration options
Types ¶
This section is empty.