Home / Function/ Test_CookieJarSet() — fiber Function Reference

Test_CookieJarSet() — fiber Function Reference

Architecture documentation for the Test_CookieJarSet() function in cookiejar_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  ae41baad_e940_8a80_e308_3123be946a4c["Test_CookieJarSet()"]
  cd50e15b_65b6_b061_b1e6_e10e95a06bf6["cookiejar_test.go"]
  ae41baad_e940_8a80_e308_3123be946a4c -->|defined in| cd50e15b_65b6_b061_b1e6_e10e95a06bf6
  17f22d02_25c6_8f48_573e_9236ed1f995b["checkKeyValue()"]
  ae41baad_e940_8a80_e308_3123be946a4c -->|calls| 17f22d02_25c6_8f48_573e_9236ed1f995b
  style ae41baad_e940_8a80_e308_3123be946a4c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

client/cookiejar_test.go lines 111–126

func Test_CookieJarSet(t *testing.T) {
	t.Parallel()

	url := []byte("http://fasthttp.com/hello/world")
	cj := &CookieJar{}

	cookie := &fasthttp.Cookie{}
	cookie.SetKey("k")
	cookie.SetValue("v")

	uri := fasthttp.AcquireURI()
	require.NoError(t, uri.Parse(nil, url))

	cj.Set(uri, cookie)
	checkKeyValue(t, cj, cookie, uri, 1)
}

Domain

Subdomains

Frequently Asked Questions

What does Test_CookieJarSet() do?
Test_CookieJarSet() is a function in the fiber codebase, defined in client/cookiejar_test.go.
Where is Test_CookieJarSet() defined?
Test_CookieJarSet() is defined in client/cookiejar_test.go at line 111.
What does Test_CookieJarSet() call?
Test_CookieJarSet() calls 1 function(s): checkKeyValue.

Analyze Your Own Codebase

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

Try Supermodel Free