public

package
v1.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Custom added in v1.1.0

func Custom(opts *Options) macaron.Handler

Custom implements the macaron static handler for serving custom assets.

func Static

func Static(opts *Options) macaron.Handler

Static implements the macaron static handler for serving assets.

Types

type Options

type Options struct {
	Directory   string
	SkipLogging bool
}

Options represents the available options to configure the macaron handler.

Jump to

Keyboard shortcuts

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