Test_CookieJarSetKeyValue() — fiber Function Reference
Architecture documentation for the Test_CookieJarSetKeyValue() function in cookiejar_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 4cbdd666_c4bd_b9a1_d884_ab6e7b4d94b4["Test_CookieJarSetKeyValue()"] cd50e15b_65b6_b061_b1e6_e10e95a06bf6["cookiejar_test.go"] 4cbdd666_c4bd_b9a1_d884_ab6e7b4d94b4 -->|defined in| cd50e15b_65b6_b061_b1e6_e10e95a06bf6 style 4cbdd666_c4bd_b9a1_d884_ab6e7b4d94b4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
client/cookiejar_test.go lines 156–172
func Test_CookieJarSetKeyValue(t *testing.T) {
t.Parallel()
host := "fast.http"
cj := &CookieJar{}
uri := fasthttp.AcquireURI()
uri.SetHost(host)
cj.SetKeyValue(host, "k", "v")
cj.SetKeyValue(host, "key", "value")
cj.SetKeyValue(host, "k", "vv")
cj.SetKeyValue(host, "key", "value2")
cookies := cj.Get(uri)
require.Len(t, cookies, 2)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Test_CookieJarSetKeyValue() do?
Test_CookieJarSetKeyValue() is a function in the fiber codebase, defined in client/cookiejar_test.go.
Where is Test_CookieJarSetKeyValue() defined?
Test_CookieJarSetKeyValue() is defined in client/cookiejar_test.go at line 156.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free