ast

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2014 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendPair

func AppendPair(k interface{}, v interface{}, hash interface{}) (map[string]string, error)

Types

type Config

type Config struct {
	Variables map[string]string
	Routes    map[string]Route
}

func AddRoute

func AddRoute(route interface{}, config interface{}) (Config, error)

func AddSet

func AddSet(set interface{}, config interface{}) (Config, error)

func NewConfig

func NewConfig(vars interface{}, route interface{}) (Config, error)

type Route

type Route struct {
	Name    string
	Channel string
	Config  map[string]string
}

func NewRoute

func NewRoute(name interface{}, channel interface{}, config interface{}) (Route, error)

Jump to

Keyboard shortcuts

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