Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
func
defaultHTTPOptions() *httpOptions {
20
return
&httpOptions{
21
isProd: false,
22
instance: nil,
23
iRegistry: nil,
24
}
25
}
26
27
func
(o *httpOptions) apply(opts ...HTTPOption) {
28
for
_, opt :=
range
opts {
Callers
3
NewHTTPServer
Function · 0.85
NewHTTPServer_pbExample
Function · 0.85
TestHTTPServerMock
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestHTTPServerMock
Function · 0.68