Home / File/ app_test.go — fiber Source File

app_test.go — fiber Source File

Architecture documentation for app_test.go, a go file in the fiber codebase. 1 imports, 0 dependents.

File go FiberCore Context 1 imports 103 functions 9 classes

Entity Profile

Dependency Diagram

graph LR
  e728fdd2_242f_706b_c1d2_041b3d6badb5["app_test.go"]
  3c539dc4_ce70_7be5_43dc_5058a965884a["bufio"]
  e728fdd2_242f_706b_c1d2_041b3d6badb5 --> 3c539dc4_ce70_7be5_43dc_5058a965884a
  style e728fdd2_242f_706b_c1d2_041b3d6badb5 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

import (
	"bufio"
	"bytes"
	"context"
	"crypto/tls"
	"encoding/json"
	"errors"
	"fmt"
	"io"
	"mime/multipart"
	"net"
	"net/http"
	"net/http/httptest"
	"os"
	"path/filepath"
	"reflect"
	"regexp"
	"runtime"
	"strconv"
	"strings"
	"sync"
	"testing"
	"time"
	"unsafe"

	"github.com/gofiber/utils/v2"

	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/require"
	"github.com/valyala/fasthttp"
	"github.com/valyala/fasthttp/fasthttputil"
)

type fileView struct {
	path    string
	content string
	loads   int
}

func (v *fileView) Load() error {
	contents, err := os.ReadFile(v.path)
	if err != nil {
		return fmt.Errorf("read template: %w", err)
	}

	v.content = string(contents)
	v.loads++
	return nil
}

func (*fileView) Render(io.Writer, string, any, ...string) error { return nil }

func testEmptyHandler(_ Ctx) error {
	return nil
// ... (3017 more lines)

Domain

Subdomains

Functions

Dependencies

  • bufio

Frequently Asked Questions

What does app_test.go do?
app_test.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_test.go?
app_test.go defines 103 function(s): Benchmark_Communication_Flow, Benchmark_Communication_Flow_Parallel, Benchmark_Ctx_AcquireReleaseFlow, Benchmark_Ctx_AcquireReleaseFlow_Parallel, Benchmark_NewError, Benchmark_NewError_Parallel, TestErrorHandler_PicksRightOne, Test_App_AddCustomRequestMethod, Test_App_Add_Method_Test, Test_App_All_Method_Test, and 93 more.
What does app_test.go depend on?
app_test.go imports 1 module(s): bufio.
Where is app_test.go in the architecture?
app_test.go is located at app_test.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