Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
Endpoint for scenario communication
type Scenario ¶
type Scenario struct {
// contains filtered or unexported fields
}
Scenario represents rule engine scenario
func New ¶
func New() *Scenario
New creates instance of Scenario instance contains rpc server that is not running, so Start must call.
func (*Scenario) Activate ¶
Activate creates or replaces user scenario beacuase there is only one scenario is here with id it starts runner too
func (*Scenario) ActivateWithoutCode ¶
ActivateWithoutCode just check user scenario existence and starts runner
func (*Scenario) Deactivate ¶
func (s *Scenario) Deactivate()
Deactivate scenario runner not its server
Click to show internal directories.
Click to hide internal directories.