top

loh is a package for serving static content, creates URIs of the files and handles index.html.

Files

static_content/
	index.html
	page.html
	.hidden_page.html
	pics/
		tree.jpg

using

ServeDirDefault("static_content")

will be referred to as

/
/page
/pics/tree

Hidden directories and files are skipped

Imports 4 package(s) ΒΆ

  1. github.com/op/go-logging
  2. gopkg.in/mgo.v2/bson
  3. github.com/gorilla/mux
  4. gopkg.in/mgo.v2