Back to godoc.org

Package handlers

v0.0.0-...-fc1e0a8
Latest Go to latest

The highest tagged major version is .

Published: Jan 27, 2020 | License: MIT | Module: github.com/realsangil/apimonitor

Index

Constants

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

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier