Home / Function/ searchCookieByKeyAndPath() — fiber Function Reference

searchCookieByKeyAndPath() — fiber Function Reference

Architecture documentation for the searchCookieByKeyAndPath() function in cookiejar.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  0c8c328c_fd69_9d64_ceae_c157801bc31b["searchCookieByKeyAndPath()"]
  1f636fe9_2e71_d567_5a28_0ab4e08b68c5["cookiejar.go"]
  0c8c328c_fd69_9d64_ceae_c157801bc31b -->|defined in| 1f636fe9_2e71_d567_5a28_0ab4e08b68c5
  0986cf44_a71a_b2e7_e8cf_903439313704["pathMatch()"]
  0c8c328c_fd69_9d64_ceae_c157801bc31b -->|calls| 0986cf44_a71a_b2e7_e8cf_903439313704
  style 0c8c328c_fd69_9d64_ceae_c157801bc31b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

client/cookiejar.go lines 292–301

func searchCookieByKeyAndPath(key, path []byte, cookies []*fasthttp.Cookie) *fasthttp.Cookie {
	for _, c := range cookies {
		if bytes.Equal(key, c.Key()) {
			if pathMatch(path, c.Path()) {
				return c
			}
		}
	}
	return nil
}

Domain

Subdomains

Defined In

Calls

Frequently Asked Questions

What does searchCookieByKeyAndPath() do?
searchCookieByKeyAndPath() is a function in the fiber codebase, defined in client/cookiejar.go.
Where is searchCookieByKeyAndPath() defined?
searchCookieByKeyAndPath() is defined in client/cookiejar.go at line 292.
What does searchCookieByKeyAndPath() call?
searchCookieByKeyAndPath() calls 1 function(s): pathMatch.

Analyze Your Own Codebase

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

Try Supermodel Free