Documentation
¶
Overview ¶
Package server provides capabilities to manage and process incoming HTTP requests. As this is the main driver for doc surfacing and interaction, special attention is paid to openly handling generated paths.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // Config contains the configuration data that helped start // this instance of the Server. Config *autodocs.Config // Engine holds the gin instance for handling HTTP. Engine *gin.Engine // Listen is the directive upon which the server will accept // connections and process requests. Listen string // Origins contains all CORS allowed origins. Origins []string }
Server holds details around the executing HTTP server based on the provided configuration.
Click to show internal directories.
Click to hide internal directories.