MCPcopy Index your code
hub / github.com/ContainerSSH/ContainerSSH / NewServer

Function NewServer

auth/webhook/server.go:11–21  ·  view source on GitHub ↗

NewServer returns a complete HTTP server that responds to the authentication requests.

(
	cfg config.HTTPServerConfiguration,
	h AuthRequestHandler,
	logger log.Logger,
)

Source from the content-addressed store, hash-verified

9
10// NewServer returns a complete HTTP server that responds to the authentication requests.
11func NewServer(
12 cfg config.HTTPServerConfiguration,
13 h AuthRequestHandler,
14 logger log.Logger,
15) (http.Server, error) {
16 return auth.NewServer(
17 cfg,
18 h,
19 logger,
20 )
21}

Callers 2

authServerMethod · 0.92
ExampleNewServerFunction · 0.92

Calls 1

NewServerFunction · 0.92

Tested by 2

authServerMethod · 0.74
ExampleNewServerFunction · 0.74