Documentation
¶
Index ¶
- Constants
- func Delete(session *gorethink.Session, r render.Render, params martini.Params)
- func Get(session *gorethink.Session, r render.Render)
- func GetWithServer(session *gorethink.Session, r render.Render)
- func Post(session *gorethink.Session, r render.Render, grp Group)
- type Group
- type GroupServer
Constants ¶
View Source
const TABLE string = "group"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GroupServer ¶
type GroupServer struct { Id string `gorethink:"id,omitempty" json:"id"` Name string `json:"name"` Servers []struct { Id string `gorethink:"id,omitempty" json:"id" form:"id"` Name string `json:"name" form:"name"` Addr string `json:"addr" form:"addr"` Port int `json:"port" form:"port"` Tunnel string `json:"tunnel" form:"tunnel"` BaseDir string `json:"basedir" form:"basedir"` } `json:"servers"` }
Click to show internal directories.
Click to hide internal directories.