openutil

package
Version: v0.0.0-...-93f0716 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: MIT Imports: 7 Imported by: 5

Documentation

Overview

Package openutil displays Markdown or HTML in a new browser tab.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayHTMLInBrowser

func DisplayHTMLInBrowser(mux *http.ServeMux, stopServerChan <-chan struct{}, query string)

DisplayHTMLInBrowser displays the /index HTML page of given mux in a new browser window/tab. query can be empty, otherwise it should begin with "?", like "?key=value".

func DisplayMarkdownInBrowser

func DisplayMarkdownInBrowser(markdown []byte)

DisplayMarkdownInBrowser displays given Markdown in a new browser window/tab.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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