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

Function C

client/client.go:984–986  ·  client/client.go::C

C returns the default client.

()

Source from the content-addressed store, hash-verified

982
983// C returns the default client.
984func C() *Client {
985 return defaultClient.Load()
986}
987
988// Replace replaces the defaultClient with a new one, returning a function to restore the old client.
989func Replace(c *Client) func() {

Callers 11

Test_ReplaceFunction · 0.70
checkClientMethod · 0.70
GetFunction · 0.70
PostFunction · 0.70
HeadFunction · 0.70
PutFunction · 0.70
DeleteFunction · 0.70
OptionsFunction · 0.70
PatchFunction · 0.70
QueryFunction · 0.70

Calls 1

LoadMethod · 0.65

Tested by 2

Test_ReplaceFunction · 0.56