Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handle messages received from a service
func NewHandler ¶
func NewHandler(logger logging.Logger, amqp *network.Amqp, dataInteractor interactor.Interactor) *Handler
NewHandler creates a new Handler instance with the necessary dependencies
type Health ¶
type Health struct {
Status string `json:"status"`
}
Health represents the service's health status
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the HTTP server
func NewServer ¶
func NewServer(port int, logger logging.Logger, dataController *controllers.DataController) Server
NewServer creates a new server instance
Click to show internal directories.
Click to hide internal directories.