handlers

package
v0.0.0-...-fc1e0a8 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestIdParam = "testId"
)
View Source
const (
	WebServiceIdParam = "webServiceId"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TestHandler

type TestHandler interface {
	CreateTest(c echo.Context) error
	GetTest(c echo.Context) error
	DeleteTest(c echo.Context) error
	GetTestList(c echo.Context) error
	UpdateTest(c echo.Context) error
	ExecuteTest(c echo.Context) error
}

func NewTestHandler

func NewTestHandler(webServiceService services.WebServiceService, testService services.TestService) (TestHandler, error)

type TestHandlerImpl

type TestHandlerImpl struct {
	// contains filtered or unexported fields
}

func (*TestHandlerImpl) CreateTest

func (handler *TestHandlerImpl) CreateTest(c echo.Context) error

func (*TestHandlerImpl) DeleteTest

func (handler *TestHandlerImpl) DeleteTest(c echo.Context) error

func (*TestHandlerImpl) ExecuteTest

func (handler *TestHandlerImpl) ExecuteTest(c echo.Context) error

func (*TestHandlerImpl) GetTest

func (handler *TestHandlerImpl) GetTest(c echo.Context) error

func (*TestHandlerImpl) GetTestList

func (handler *TestHandlerImpl) GetTestList(c echo.Context) error

func (*TestHandlerImpl) UpdateTest

func (handler *TestHandlerImpl) UpdateTest(c echo.Context) error

type TestResultHandler

type TestResultHandler interface {
	GetListByWebService(c echo.Context) error
	GetListByTest(c echo.Context) error
}

func NewTestResultHandler

func NewTestResultHandler(testResultService services.TestResultService) (TestResultHandler, error)

type TestResultHandlerImpl

type TestResultHandlerImpl struct {
	TestResultService services.TestResultService
}

func (*TestResultHandlerImpl) GetListByTest

func (handler *TestResultHandlerImpl) GetListByTest(c echo.Context) error

func (*TestResultHandlerImpl) GetListByWebService

func (handler *TestResultHandlerImpl) GetListByWebService(c echo.Context) error

type WebServiceHandler

type WebServiceHandler interface {
	CreateWebService(c echo.Context) error
	GetWebServiceById(c echo.Context) error
	DeleteWebServiceById(c echo.Context) error
	UpdateWebServiceById(c echo.Context) error
	GetWebServiceList(c echo.Context) error
	ExecuteTests(c echo.Context) error
}

func NewWebServiceHandler

func NewWebServiceHandler(webServiceService services.WebServiceService) (WebServiceHandler, error)

type WebServiceHandlerImpl

type WebServiceHandlerImpl struct {
	// contains filtered or unexported fields
}

func (*WebServiceHandlerImpl) CreateWebService

func (handler *WebServiceHandlerImpl) CreateWebService(c echo.Context) error

func (*WebServiceHandlerImpl) DeleteWebServiceById

func (handler *WebServiceHandlerImpl) DeleteWebServiceById(c echo.Context) error

func (*WebServiceHandlerImpl) ExecuteTests

func (handler *WebServiceHandlerImpl) ExecuteTests(c echo.Context) error

func (*WebServiceHandlerImpl) GetWebServiceById

func (handler *WebServiceHandlerImpl) GetWebServiceById(c echo.Context) error

func (*WebServiceHandlerImpl) GetWebServiceList

func (handler *WebServiceHandlerImpl) GetWebServiceList(c echo.Context) error

func (*WebServiceHandlerImpl) UpdateWebServiceById

func (handler *WebServiceHandlerImpl) UpdateWebServiceById(c echo.Context) error

Jump to

Keyboard shortcuts

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