Documentation ¶
Index ¶
- func CaptureBase64Images(startingHTML string) (newHTML string, images map[string][]byte, err error)
- func CaptureBase64ImagesFromMarkdown(startingMarkdown string) (newContent string, images map[string][]byte, err error)
- func ContentType(filename string) string
- func GetClientIPHelper(req *http.Request) (ipResult string, errResult error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureBase64Images ¶
CaptureBase64Images takes HTML and replaces all base64 representations (except GIF) with a filename. It returns the new HTML and also a map of the new file names and their associated data (converted from base64 to binary).
func CaptureBase64ImagesFromMarkdown ¶ added in v0.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.