Documentation ¶
Index ¶
- func InitRulerLoader()
- type RequestProcessor
- func (r RequestProcessor) Process(process *models.Process)
- func (r RequestProcessor) ProcessAssert(process *models.Process) []*models.Notification
- func (r RequestProcessor) ProcessBodyAssert(process *models.Process, assert models.AssertItem) bool
- func (r RequestProcessor) ProcessJsonPathAssert(process *models.Process, assert models.AssertItem) bool
- func (r RequestProcessor) ProcessStatusAssert(process *models.Process, assert models.AssertItem) bool
- func (r RequestProcessor) SendNotifications(notifications []*models.Notification)
- type RulerLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRulerLoader ¶
func InitRulerLoader()
Types ¶
type RequestProcessor ¶
type RequestProcessor struct { }
processor
func (RequestProcessor) Process ¶
func (r RequestProcessor) Process(process *models.Process)
process
func (RequestProcessor) ProcessAssert ¶
func (r RequestProcessor) ProcessAssert(process *models.Process) []*models.Notification
process assert
func (RequestProcessor) ProcessBodyAssert ¶
func (r RequestProcessor) ProcessBodyAssert(process *models.Process, assert models.AssertItem) bool
process body assert
func (RequestProcessor) ProcessJsonPathAssert ¶
func (r RequestProcessor) ProcessJsonPathAssert(process *models.Process, assert models.AssertItem) bool
json path assert
func (RequestProcessor) ProcessStatusAssert ¶
func (r RequestProcessor) ProcessStatusAssert(process *models.Process, assert models.AssertItem) bool
process status assert
func (RequestProcessor) SendNotifications ¶
func (r RequestProcessor) SendNotifications(notifications []*models.Notification)
send notifications
type RulerLoader ¶
type RulerLoader struct {
// contains filtered or unexported fields
}
var Loader RulerLoader
func NewRulerLoader ¶
func NewRulerLoader() RulerLoader
func (RulerLoader) Close ¶
func (r RulerLoader) Close() error
func (RulerLoader) HandleNotifications ¶
func (r RulerLoader) HandleNotifications(notifications []*models.Notification, process *models.Process) []*models.Notification
func (RulerLoader) Init ¶
func (r RulerLoader) Init() error
Click to show internal directories.
Click to hide internal directories.