Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
func Serve()
Serve initializes and starts an HTTP server for VSecM Sentinel.
This function sets up an HTTP server with a multiplexer for handling requests. It specifically registers the "/secrets" endpoint with the HandleSecrets function from the engine package.
Example usage:
Serve() // This will start the server and listen for incoming requests.
Details:
- mux: An HTTP request multiplexer that routes incoming requests to the registered handler functions.
- HandleSecrets: A function from the engine package that processes requests to the "/secrets" endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.