rest

package
v0.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNotifyHandler

func NewNotifyHandler(route *echo.Group, service NotifyService)

func NewStatisticsHandler

func NewStatisticsHandler(route *echo.Group, service StatisticsService)

func NewWorkflowHandler

func NewWorkflowHandler(route *echo.Group, service WorkflowService)

Types

type NotifyService

type NotifyService interface {
	Test(ctx context.Context, req *domain.NotifyTestPushReq) error
}

type StatisticsService

type StatisticsService interface {
	Get(ctx context.Context) (*domain.Statistics, error)
}

type WorkflowService

type WorkflowService interface {
	Run(ctx context.Context, req *domain.WorkflowRunReq) error
}

Jump to

Keyboard shortcuts

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