Documentation
¶
Index ¶
- func PrintDev(e *echo.Echo)
- func SetupEcho(cfg *config.Config, l log.Logger) *echo.Echo
- func SetupHTTPEndpoints(deps *Deps, e *echo.Echo)
- func SetupHybrid(cfg config.Config, l log.Logger, e *echo.Echo) *server.SocketServer
- func SetupSocketMetrics(s *server.SocketServer)
- func SetupSockets(cfg config.Socket, e *echo.Echo) *server.SocketServer
- func SetupSwagger(cfg config.Server, e *echo.Echo)
- type Deps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintDev ¶
PrintDev outputs some useful dev information such as http routes and current settings being used.
func SetupHTTPEndpoints ¶
SetupHTTPEndpoints will register the http endpoints.
func SetupHybrid ¶
SetupHybrid will setup handlers for http=>socket communication.
func SetupSocketMetrics ¶
func SetupSocketMetrics(s *server.SocketServer)
SetupSocketMetrics will setup the socket server metrics.
func SetupSockets ¶
SetupSockets will setup handlers and socket server.
Types ¶
type Deps ¶
type Deps struct {
PaymentService dpp.PaymentService
PaymentRequestService dpp.PaymentRequestService
ProofsService dpp.ProofsService
}
Deps holds all the dependencies.
Click to show internal directories.
Click to hide internal directories.