app.go — fiber Source File
Architecture documentation for app.go, a go file in the fiber codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 258982c0_9752_bf98_01ce_836d4de563e1["app.go"] 3c539dc4_ce70_7be5_43dc_5058a965884a["bufio"] 258982c0_9752_bf98_01ce_836d4de563e1 --> 3c539dc4_ce70_7be5_43dc_5058a965884a style 258982c0_9752_bf98_01ce_836d4de563e1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
// ⚡️ Fiber is an Express inspired web framework written in Go with ☕️
// 🤖 GitHub Repository: https://github.com/gofiber/fiber
// 📌 API Documentation: https://docs.gofiber.io
// Package fiber is an Express inspired web framework built on top of Fasthttp,
// the fastest HTTP engine for Go. Designed to ease things up for fast
// development with zero memory allocation and performance in mind.
package fiber
import (
"bufio"
"context"
"encoding/json"
"encoding/xml"
"errors"
"fmt"
"io"
"net"
"net/http"
"net/http/httputil"
"os"
"reflect"
"strconv"
"strings"
"sync"
"time"
"unsafe"
"github.com/gofiber/utils/v2"
"github.com/valyala/fasthttp"
"github.com/gofiber/fiber/v3/binder"
"github.com/gofiber/fiber/v3/log"
)
// Version of current fiber package
const Version = "3.0.0"
// Handler defines a function to serve HTTP requests.
type Handler = func(Ctx) error
// Map is a shortcut for map[string]any, useful for JSON returns
type Map map[string]any
// ErrorHandler defines a function that will process all errors
// returned from any handlers in the stack
//
// cfg := fiber.Config{}
// cfg.ErrorHandler = func(c Ctx, err error) error {
// code := StatusInternalServerError
// var e *fiber.Error
// if errors.As(err, &e) {
// code = e.Code
// }
// c.Set(HeaderContentType, MIMETextPlainCharsetUTF8)
// return c.Status(code).SendString(err.Error())
// }
// app := fiber.New(cfg)
type ErrorHandler = func(Ctx, error) error
// ... (1384 more lines)
Domain
Subdomains
Functions
Classes
Types
Dependencies
- bufio
Source
Frequently Asked Questions
What does app.go do?
app.go is a source file in the fiber codebase, written in go. It belongs to the FiberCore domain, Context subdomain.
What functions are defined in app.go?
app.go defines 10 function(s): Context, CustomCtx, DefaultErrorHandler, New, NewError, NewErrorf, NewWithCustomCtx, error, s, string.
What does app.go depend on?
app.go imports 1 module(s): bufio.
Where is app.go in the architecture?
app.go is located at app.go (domain: FiberCore, subdomain: Context).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free