command

package
v0.0.0-...-be0f741 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const TABLE string = "command"

Variables

This section is empty.

Functions

func Delete

func Delete(session *gorethink.Session, r render.Render, params martini.Params)

func Get

func Get(session *gorethink.Session, r render.Render)

func Post

func Post(session *gorethink.Session, r render.Render, cmd Command)

Types

type Command

type Command struct {
	Id     string `gorethink:"id,omitempty" json:"id" form:"id"`
	Name   string `json:"name" form:"name" binding:"required"`
	Note   string `json:"note" form:"note"`
	Script string `json:"script" form:"script" binding:"required"`
}

Jump to

Keyboard shortcuts

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