Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FastHomePage ¶
func FastHomePage(ctx *fasthttp.RequestCtx, hostname, port string)
FastHomePage is the methods for serve the home page. It print the list of file that you can query with the complete link in order to copy and paste easily
func InitAPIFasthttp ¶
HandleRequests is the hook the real function/wrapper for expose the API. It's main scope it's to map the url to the function that have to do the work. It take in input the pointer to the list of file to server; The pointer to the datastructure.Configuration in order to change the parameter at runtime;the channel used for thread safety
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.