Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthAction ¶
type AuthAction string
const ( READ AuthAction = "r" WRITE AuthAction = "w" EXECUTE AuthAction = "x" ADMINISTRATE AuthAction = "a" )
func (AuthAction) String ¶
func (this AuthAction) String() string
func (AuthAction) ToPermission ¶ added in v0.0.9
func (this AuthAction) ToPermission() client.Permission
type ListOptions ¶ added in v0.0.9
type ListOptions struct {
Ids []string //filter; ignores limit/offset if Ids != nil; ignored if Ids == nil; Ids == []string{} will return an empty list;
Search string
Limit int64 //default 100, will be ignored if 'ids' is set (Ids != nil)
Offset int64 //default 0, will be ignored if 'ids' is set (Ids != nil)
SortBy string //default name.asc
Permission AuthAction //defaults to read
}
type Process ¶
type Process struct {
Id string `json:"_id" bson:"_id"`
Name string `json:"name" bson:"name"`
Date int64 `json:"date" bson:"date"`
Owner string `json:"owner" bson:"owner"`
BpmnXml string `json:"bpmn_xml" bson:"bpmn_xml"`
SvgXml string `json:"svgXML" bson:"svgXML"`
Publish bool `json:"publish" bson:"publish"`
PublishDate string `json:"publish_date" bson:"publish_date"`
Description string `json:"description" bson:"description"`
LastUpdatedUnix int64 `json:"last_updated_unix" bson:"last_updated_unix"`
}
type PublicCommand ¶
Click to show internal directories.
Click to hide internal directories.