api

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupHandlerStub added in v1.6.0

type GroupHandlerStub struct {
	UpdateFacadeCalled   func(facade interface{}) error
	RegisterRoutesCalled func(ws *gin.RouterGroup, apiConfig config.ApiRoutesConfig)
}

GroupHandlerStub -

func (*GroupHandlerStub) IsInterfaceNil added in v1.6.0

func (stub *GroupHandlerStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*GroupHandlerStub) RegisterRoutes added in v1.6.0

func (stub *GroupHandlerStub) RegisterRoutes(ws *gin.RouterGroup, apiConfig config.ApiRoutesConfig)

RegisterRoutes -

func (*GroupHandlerStub) UpdateFacade added in v1.6.0

func (stub *GroupHandlerStub) UpdateFacade(facade interface{}) error

UpdateFacade -

type ServerStub added in v1.6.0

type ServerStub struct {
	ListenAndServeCalled func() error
	ShutdownCalled       func(ctx context.Context) error
}

ServerStub -

func (*ServerStub) ListenAndServe added in v1.6.0

func (stub *ServerStub) ListenAndServe() error

ListenAndServe -

func (*ServerStub) Shutdown added in v1.6.0

func (stub *ServerStub) Shutdown(ctx context.Context) error

Shutdown -

type UpgradeableHttpServerHandlerStub

type UpgradeableHttpServerHandlerStub struct {
	StartHttpServerCalled func() error
	UpdateFacadeCalled    func(facade shared.FacadeHandler) error
	CloseCalled           func() error
}

UpgradeableHttpServerHandlerStub -

func (*UpgradeableHttpServerHandlerStub) Close

Close -

func (*UpgradeableHttpServerHandlerStub) IsInterfaceNil

func (stub *UpgradeableHttpServerHandlerStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*UpgradeableHttpServerHandlerStub) StartHttpServer

func (stub *UpgradeableHttpServerHandlerStub) StartHttpServer() error

StartHttpServer -

func (*UpgradeableHttpServerHandlerStub) UpdateFacade

func (stub *UpgradeableHttpServerHandlerStub) UpdateFacade(facade shared.FacadeHandler) error

UpdateFacade -

Jump to

Keyboard shortcuts

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