event

package
v0.1.3-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RoleUser = make(map[string][]string)

这里创建了一个角色-用户的人员库,用来模拟数据库中存储的角色-用户对应关系

Functions

This section is empty.

Types

type MyEvent

type MyEvent struct{}

示例事件

func (*MyEvent) MyEvent_End

func (e *MyEvent) MyEvent_End(ProcessInstanceID int, CurrentNode *Node, PrevNode Node) error

func (*MyEvent) MyEvent_Notify

func (e *MyEvent) MyEvent_Notify(ProcessInstanceID int, CurrentNode *Node, PrevNode Node) error

func (*MyEvent) MyEvent_ResolveRoles

func (e *MyEvent) MyEvent_ResolveRoles(ProcessInstanceID int, CurrentNode *Node, PrevNode Node) error

解析角色

Jump to

Keyboard shortcuts

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