app

package
v0.0.0-...-576eb72 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2014 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Dir          string
	Name         string                 `yaml:"name"`
	Handlers     map[string]string      `yaml:"handlers"`
	Vars         map[string]interface{} `yaml:"vars"`
	Templates    *Templates             `yaml:"templates"`
	Translations *Translations          `yaml:"translations"`
	Assets       string                 `yaml:"assets"`
}

func Parse

func Parse(dir string) (*App, error)

func (*App) Gen

func (app *App) Gen(release bool) error

type Templates

type Templates struct {
	Path      string            `yaml:"path"`
	Functions map[string]string `yaml:"functions"`
	Hooks     map[string]string `yaml:"hooks"`
}

type Translations

type Translations struct {
	Context string `yaml:"context"`
}

Jump to

Keyboard shortcuts

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