shared

package
v0.0.0-...-a9c285c Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FacadeHandler

type FacadeHandler interface {
	RestApiInterface() string
	PprofEnabled() bool
	IsInterfaceNil() bool
}

FacadeHandler defines all the methods that a facade should implement

type GroupHandler

type GroupHandler interface {
	UpdateFacade(newFacade FacadeHandler) error
	RegisterRoutes(
		ws *gin.RouterGroup,
		apiConfig config.ApiRoutesConfig,
	)
	IsAuthenticationNeeded() bool
	IsInterfaceNil() bool
}

GroupHandler defines the actions needed to be performed by an gin API group

type UpgradeableHttpServerHandler

type UpgradeableHttpServerHandler interface {
	StartHttpServer() error
	UpdateFacade(facade FacadeHandler) error
	Close() error
	IsInterfaceNil() bool
}

UpgradeableHttpServerHandler defines the actions that an upgradeable http server need to do

Jump to

Keyboard shortcuts

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