Home / Function/ NewWithClient() — fiber Function Reference

NewWithClient() — fiber Function Reference

Architecture documentation for the NewWithClient() function in client.go from the fiber codebase.

Function go FiberClient Transport calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  fa965401_cda1_cdbc_c318_9f4ba0971180["NewWithClient()"]
  0a898b85_5e70_235c_a863_b41e3d48af64["client.go"]
  fa965401_cda1_cdbc_c318_9f4ba0971180 -->|defined in| 0a898b85_5e70_235c_a863_b41e3d48af64
  b690338b_3cef_7687_681a_0a356d31fb52["New()"]
  b690338b_3cef_7687_681a_0a356d31fb52 -->|calls| fa965401_cda1_cdbc_c318_9f4ba0971180
  24aaca32_eb66_be05_70a5_8cf3aba6bf93["newClient()"]
  fa965401_cda1_cdbc_c318_9f4ba0971180 -->|calls| 24aaca32_eb66_be05_70a5_8cf3aba6bf93
  style fa965401_cda1_cdbc_c318_9f4ba0971180 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

client/client.go lines 760–765

func NewWithClient(c *fasthttp.Client) *Client {
	if c == nil {
		panic("fasthttp.Client must not be nil")
	}
	return newClient(newStandardClientTransport(c))
}

Domain

Subdomains

Defined In

Calls

Called By

Frequently Asked Questions

What does NewWithClient() do?
NewWithClient() is a function in the fiber codebase, defined in client/client.go.
Where is NewWithClient() defined?
NewWithClient() is defined in client/client.go at line 760.
What does NewWithClient() call?
NewWithClient() calls 1 function(s): newClient.
What calls NewWithClient()?
NewWithClient() is called by 1 function(s): New.

Analyze Your Own Codebase

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

Try Supermodel Free