Home / Function/ NewWithHostClient() — fiber Function Reference

NewWithHostClient() — fiber Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

client/client.go lines 768–773

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

Domain

Subdomains

Defined In

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free