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

Function WithHTTPIsProd

internal/server/http_option.go:34–38  ·  view source on GitHub ↗

WithHTTPIsProd setting up production environment markers

(isProd bool)

Source from the content-addressed store, hash-verified

32
33// WithHTTPIsProd setting up production environment markers
34func WithHTTPIsProd(isProd bool) HTTPOption {
35 return func(o *httpOptions) {
36 o.isProd = isProd
37 }
38}
39
40// WithHTTPRegistry registration services
41func WithHTTPRegistry(iRegistry registry.Registry, instance *registry.ServiceInstance) HTTPOption {

Callers 6

CreateServicesFunction · 0.92
CreateServicesFunction · 0.92
CreateServicesFunction · 0.92
CreateServicesFunction · 0.92
CreateServicesFunction · 0.92
TestHTTPServerFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestHTTPServerFunction · 0.68