Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIHandler ¶
func APIHandler(c *cache.Cache) http.HandlerFunc
APIHandler is the handler for the HTTP API service.
func FrontendHandler ¶
func FrontendHandler(w http.ResponseWriter, r *http.Request)
FrontendHandler is the handler for the HTTP frontend service.
func StartAPIServer ¶
func StartAPIServer(addr string, c *cache.Cache)
StartAPIServer starts and binds a HTTP API service.
func StartFrontEndServer ¶
func StartFrontEndServer(addr string)
StartFrontEndServer starts and binds a frontend WWW service.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.