flip

package
v0.0.0-...-47bbd0b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL