v3

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateAddMethod

func MigrateAddMethod(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateAddMethod adapts the Add method signature

func MigrateAppTestConfig

func MigrateAppTestConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateAppTestConfig updates app.Test calls to use the new TestConfig parameter

func MigrateCORSConfig

func MigrateCORSConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateCORSConfig updates cors middleware configuration fields

func MigrateCSRFConfig

func MigrateCSRFConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateCSRFConfig updates csrf middleware configuration fields

func MigrateConfigListenerFields

func MigrateConfigListenerFields(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

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

func MigrateContextMethods(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateContextMethods updates context related methods to the new names

func MigrateEnvVarConfig

func MigrateEnvVarConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateEnvVarConfig removes deprecated ExcludeVars field from envvar middleware configuration

func MigrateFilesystemMiddleware

func MigrateFilesystemMiddleware(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateFilesystemMiddleware replaces deprecated filesystem middleware with static middleware

func MigrateGenericHelpers

func MigrateGenericHelpers(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateGenericHelpers migrates helper functions that now use generics

func MigrateHandlerSignatures

func MigrateHandlerSignatures(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

func MigrateHealthcheckConfig

func MigrateHealthcheckConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateHealthcheckConfig updates healthcheck middleware configuration fields

func MigrateLimiterConfig

func MigrateLimiterConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateLimiterConfig updates limiter middleware configuration fields

func MigrateListenMethods

func MigrateListenMethods(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateListenMethods replaces removed Listen helpers with Listen

func MigrateListenerCallbacks

func MigrateListenerCallbacks(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateListenerCallbacks removes deprecated OnShutdown callbacks from ListenerConfig. Fiber v3 replaces these with the OnPostShutdown hook.

func MigrateLoggerTags

func MigrateLoggerTags(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateLoggerTags updates deprecated logger tag constants

func MigrateMiddlewareLocals

func MigrateMiddlewareLocals(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateMiddlewareLocals replaces Locals lookups for middleware data with helper functions

func MigrateMimeConstants

func MigrateMimeConstants(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateMimeConstants updates deprecated MIME constants

func MigrateMonitorImport

func MigrateMonitorImport(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateMonitorImport updates monitor middleware import path

func MigrateMount

func MigrateMount(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateMount replaces app.Mount with app.Use

func MigrateParserMethods

func MigrateParserMethods(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateParserMethods replaces deprecated parser helper methods with the new binding API

func MigrateProxyTLSConfig

func MigrateProxyTLSConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateProxyTLSConfig updates proxy TLS helper to new client configuration

func MigrateRedirectMethods

func MigrateRedirectMethods(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateRedirectMethods updates redirect helper methods to the new API

func MigrateReqHeaderParser

func MigrateReqHeaderParser(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateReqHeaderParser replaces the deprecated ReqHeaderParser helper with the new binding API

func MigrateSessionConfig

func MigrateSessionConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateSessionConfig updates session middleware configuration fields

func MigrateStaticRoutes

func MigrateStaticRoutes(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateStaticRoutes replaces app.Static calls with static middleware

func MigrateTrustedProxyConfig

func MigrateTrustedProxyConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateTrustedProxyConfig updates trusted proxy configuration options

func MigrateViewBind

func MigrateViewBind(cmd *cobra.Command, cwd string, _, _ *semver.Version) error

MigrateViewBind replaces the old Ctx.Bind view binding helper with ViewBind

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL