MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / serverGroup

Struct serverGroup

pkg/proxyhttp/server_group.go:19–21  ·  view source on GitHub ↗

serverGroup manages the starting and graceful shutdown of a collection of servers.

Source from the content-addressed store, hash-verified

17// serverGroup manages the starting and graceful shutdown of a collection of
18// servers.
19type serverGroup struct {
20 servers []Server
21}
22
23// Start runs the servers in the server group.
24func (s *serverGroup) Start(ctx context.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected