rest

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	http.Server
	Port int
	// contains filtered or unexported fields
}

func NewServer

func NewServer(httpPort int, metadataService metadata.MetadataService, executorService *service.WorkflowExecutionService) (*Server, error)

func (*Server) HandleCreateFlow

func (s *Server) HandleCreateFlow(w http.ResponseWriter, r *http.Request)

func (*Server) HandleEvent

func (s *Server) HandleEvent(w http.ResponseWriter, r *http.Request)

func (*Server) HandleGetFlow

func (s *Server) HandleGetFlow(w http.ResponseWriter, r *http.Request)

func (*Server) HandlePauseFlow

func (s *Server) HandlePauseFlow(w http.ResponseWriter, r *http.Request)

func (*Server) HandleResumeFlow

func (s *Server) HandleResumeFlow(w http.ResponseWriter, r *http.Request)

func (*Server) HandleRunFlow

func (s *Server) HandleRunFlow(w http.ResponseWriter, r *http.Request)

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

Jump to

Keyboard shortcuts

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