MCPcopy Index your code
hub / github.com/go-dev-frame/sponge / Scheme

Method Scheme

pkg/httpsrv/http.go:84–86  ·  view source on GitHub ↗

Scheme returns the scheme of the server, e.g. http or https.

()

Source from the content-addressed store, hash-verified

82
83// Scheme returns the scheme of the server, e.g. http or https.
84func (s *Server) Scheme() string {
85 return s.scheme
86}

Callers 4

TestServer_Run_WithTLSerFunction · 0.45
StartMethod · 0.45
StringMethod · 0.45
Test_newServerFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestServer_Run_WithTLSerFunction · 0.36
Test_newServerFunction · 0.36