Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServers ¶ added in v0.0.16
func CreateServers(logger *zerolog.Logger, settings *config.Settings) (*fiber.App, *grpc.Server, error)
CreateServers creates a new fiber app and grpc server with the given settings.
func ErrorHandler ¶
ErrorHandler custom handler to log recovered errors using our logger and return json instead of string
func HealthCheck ¶
func HealthCheck(ctx *fiber.Ctx) error
HealthCheck godoc @Summary Show the status of server. @Description get the status of server. @Tags root @Accept */* @Produce json @Success 200 {object} map[string]interface{} @Router / [get]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.