Home / File/ ctx_test.go — fiber Source File

ctx_test.go — fiber Source File

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

File go FiberCore Routing 1 imports 284 functions 24 classes

Entity Profile

Dependency Diagram

graph LR
  7b3d4933_5ae3_f84d_ff6d_0cb34e268026["ctx_test.go"]
  3c539dc4_ce70_7be5_43dc_5058a965884a["bufio"]
  7b3d4933_5ae3_f84d_ff6d_0cb34e268026 --> 3c539dc4_ce70_7be5_43dc_5058a965884a
  style 7b3d4933_5ae3_f84d_ff6d_0cb34e268026 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"
	"compress/gzip"
	"compress/zlib"
	"context"
	"crypto/tls"
	"embed"
	"encoding/hex"
	"encoding/xml"
	"errors"
	"fmt"
	"io"
	"math"
	"mime/multipart"
	"net"
	"net/http"
	"net/http/httptest"
	"os"
	"path/filepath"
	"runtime"
	"strconv"
	"strings"
	"sync/atomic"
	"testing"
	"text/template"
	"time"

	"github.com/fxamacker/cbor/v2"
	"github.com/gofiber/utils/v2"
	"github.com/shamaton/msgpack/v3"
	"github.com/stretchr/testify/require"
	"github.com/valyala/bytebufferpool"
	"github.com/valyala/fasthttp"

	"github.com/gofiber/fiber/v3/internal/storage/memory"
)

const epsilon = 0.001

type testContextKey struct{}

type testNetAddr struct {
	network string
	address string
}

func (t testNetAddr) Network() string {
	return t.network
}

func (t testNetAddr) String() string {
	return t.address
}
// ... (8702 more lines)

Domain

Subdomains

Functions

Dependencies

  • bufio

Frequently Asked Questions

What does ctx_test.go do?
ctx_test.go is a source file in the fiber codebase, written in go. It belongs to the FiberCore domain, Routing subdomain.
What functions are defined in ctx_test.go?
ctx_test.go defines 284 function(s): Benchmark_Ctx_Accepts, Benchmark_Ctx_AcceptsCharsets, Benchmark_Ctx_AcceptsEncodings, Benchmark_Ctx_AcceptsLanguages, Benchmark_Ctx_Append, Benchmark_Ctx_Attachment, Benchmark_Ctx_AutoFormat, Benchmark_Ctx_AutoFormat_HTML, Benchmark_Ctx_AutoFormat_JSON, Benchmark_Ctx_AutoFormat_MsgPack, and 274 more.
What does ctx_test.go depend on?
ctx_test.go imports 1 module(s): bufio.
Where is ctx_test.go in the architecture?
ctx_test.go is located at ctx_test.go (domain: FiberCore, subdomain: Routing).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free