MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / NewFastClient

Function NewFastClient

pkg/rest/fastclient.go:35–37  ·  view source on GitHub ↗
(host string)

Source from the content-addressed store, hash-verified

33}
34
35func NewFastClient(host string) *FastClient {
36 return &FastClient{client: &fasthttp.HostClient{Addr: host}}
37}
38
39func (c *FastClient) Do(req *fasthttp.Request) (resp *fasthttp.Response, err error) {
40 resp = fasthttp.AcquireResponse()

Callers 1

NewControllerClientFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected