Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoHTTPJSON ¶
func InitRouter ¶
func InitRouter(defaultRoute string)
Types ¶
type Adder ¶
type Adder struct {
*polymer.Proto
Addends []string `polymer:"bind"`
Sum int `polymer:"bind"`
Error string `polymer:"bind"`
Create chan *polymer.Event `polymer:"handler"`
Delete chan *polymer.Event `polymer:"handler"`
Submit chan *polymer.Event `polymer:"handler"`
}
func (*Adder) ComputeSum ¶
func (*Adder) ListenEvents ¶
func (a *Adder) ListenEvents()
type RouterType ¶
var Router *RouterType
func (*RouterType) ComputeIsActive ¶
func (r *RouterType) ComputeIsActive(section string, active string) bool
func (*RouterType) HandleAnchorClick ¶
func (r *RouterType) HandleAnchorClick(e *polymer.Event)
func (*RouterType) SetPath ¶
func (r *RouterType) SetPath(path string)
func (*RouterType) SetRoute ¶
func (r *RouterType) SetRoute(route string)
Click to show internal directories.
Click to hide internal directories.