Home / Function/ checkKeyValue() — fiber Function Reference

checkKeyValue() — fiber Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

client/cookiejar_test.go lines 12–23

func checkKeyValue(t *testing.T, cj *CookieJar, cookie *fasthttp.Cookie, uri *fasthttp.URI, n int) {
	t.Helper()

	cs := cj.Get(uri)
	require.GreaterOrEqual(t, len(cs), n)

	c := cs[n-1]
	require.NotNil(t, c)

	require.Equal(t, string(c.Key()), string(cookie.Key()))
	require.Equal(t, string(c.Value()), string(cookie.Value()))
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free