mdmw

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const HTMLForbidden = `` /* 419-byte string literal not displayed */
View Source
const HTMLNotFound = `` /* 419-byte string literal not displayed */
View Source
const HTMLOutput = `` /* 2894-byte string literal not displayed */
View Source
const HTMLServerError = `` /* 443-byte string literal not displayed */

Variables

View Source
var MarkdownExtensions = []string{".md", ".markdown", ".mdown", ".mkdn", ".mkd"}

Functions

This section is empty.

Types

type Server

type Server struct {
	StorageDriver     storage.Driver
	ListenAddress     string
	ValidateExtension bool
	// contains filtered or unexported fields
}

Server is a mdmw HTTP server

func (*Server) Listen

func (s *Server) Listen()

Listen starts the actual HTTP server

func (*Server) SetOutputTemplate

func (s *Server) SetOutputTemplate(source string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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