Documentation ¶
Overview ¶
Package service provides a cmd.Handler that brings up a system service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
func Command(svcName arvados.ServiceName, newHandler NewHandlerFunc) cmd.Handler
Command returns a cmd.Handler that loads site config, calls newHandler with the current cluster and node configs, and brings up an http server with the returned handler.
The handler is wrapped with server middleware (adding X-Request-ID headers, logging requests/responses, etc).
Types ¶
type Handler ¶
Click to show internal directories.
Click to hide internal directories.