Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Health ¶
type Health struct {
Status string `json:"status"`
}
Health represents the service's health status
type MsgHandler ¶
type MsgHandler struct {
// contains filtered or unexported fields
}
MsgHandler handle messages received from a service
func NewMsgHandler ¶
func NewMsgHandler(logger logging.Logger, amqp *network.Amqp, thingController *controllers.ThingController) *MsgHandler
NewMsgHandler creates a new MsgHandler instance with the necessary dependencies
func (*MsgHandler) Start ¶
func (mc *MsgHandler) Start(started chan bool)
Start starts to listen messages
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the HTTP server
func NewServer ¶
func NewServer(port int, logger logging.Logger, userController *controllers.UserController) Server
NewServer creates a new server instance
Click to show internal directories.
Click to hide internal directories.