Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ImageTemplate string = `<!DOCTYPE html>
<html lang="en"><head></head>
<body><img src="data:image/jpg;base64,{{.Image}}"></body>`
Functions ¶
func HelloWorld ¶
func HelloWorld(w http.ResponseWriter, r *http.Request)
HelloWorld prints the JSON encoded "message" field in the body of the request or "Hello, World!" if there isn't one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.