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