model

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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

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"`
}

func (*Process) Validate

func (process *Process) Validate() (err error)

type PublicCommand

type PublicCommand struct {
	Publish     bool   `json:"publish"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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