MCPcopy
hub / github.com/gofiber/fiber / ReleaseCookieJar

Function ReleaseCookieJar

client/cookiejar.go:37–40  ·  view source on GitHub ↗

ReleaseCookieJar returns a CookieJar object to the pool.

(c *CookieJar)

Source from the content-addressed store, hash-verified

35
36// ReleaseCookieJar returns a CookieJar object to the pool.
37func ReleaseCookieJar(c *CookieJar) {
38 c.Release()
39 cookieJarPool.Put(c)
40}
41
42// CookieJar manages cookie storage for the client.
43// CookieJar is safe for concurrent use, except Release. Release must not run

Callers 2

Test_Client_CookieJarFunction · 0.85

Calls 2

PutMethod · 0.65
ReleaseMethod · 0.45

Tested by 2

Test_Client_CookieJarFunction · 0.68