Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthEndpoints ¶
func HealthEndpoints(config config.Config, control Controller, router *httprouter.Router)
func ProcessEndpoints ¶
func ProcessEndpoints(config config.Config, control Controller, router *httprouter.Router)
Types ¶
type Controller ¶
type Controller interface { ReadProcess(token auth.Token, id string, action model.AuthAction) (result model.Process, err error, errCode int) ReadAllPublicProcess() ([]model.Process, error, int) PublishProcessCreate(token auth.Token, process model.Process) (model.Process, error, int) PublishProcessUpdate(token auth.Token, id string, process model.Process) (model.Process, error, int) PublishProcessPublicUpdate(token auth.Token, id string, public model.PublicCommand) (model.Process, error, int) PublishProcessDelete(token auth.Token, id string) (error, int) }
Click to show internal directories.
Click to hide internal directories.