Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface { // RegisterEndpoints configures all routes for the server. RegisterEndpoints() // Serve starts the server instance. Serve() error }
Server defines a wrapper around the HTTP server functionality, specifically involving setting up and starting an HTTP server.
func NewServer ¶
func NewServer(cli config.CLIOptions, file config.FileOptions) Server
NewServer returns a new instance of the Server type, configured with the given options.
Click to show internal directories.
Click to hide internal directories.