MCPcopy Create free account
hub / github.com/go-dev-frame/sponge / defaultHTTPOptions

Function defaultHTTPOptions

internal/server/http_option.go:19–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func defaultHTTPOptions() *httpOptions {
20 return &httpOptions{
21 isProd: false,
22 instance: nil,
23 iRegistry: nil,
24 }
25}
26
27func (o *httpOptions) apply(opts ...HTTPOption) {
28 for _, opt := range opts {

Callers 3

NewHTTPServerFunction · 0.85
NewHTTPServer_pbExampleFunction · 0.85
TestHTTPServerMockFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestHTTPServerMockFunction · 0.68