Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageRouter ¶
type MessageRouter struct {
// contains filtered or unexported fields
}
func NewMessageRouter ¶
func NewMessageRouter(db *gorm.DB, wsHub *ws.Hub) *MessageRouter
func (*MessageRouter) CreateMessage ¶
func (r *MessageRouter) CreateMessage(c *gin.Context)
func (*MessageRouter) GetMessage ¶
func (r *MessageRouter) GetMessage(c *gin.Context)
func (*MessageRouter) GetMessages ¶
func (r *MessageRouter) GetMessages(c *gin.Context)
type StatusRouter ¶
type StatusRouter struct { Version string // contains filtered or unexported fields }
func NewStatusRouter ¶
func (*StatusRouter) GetStatus ¶
func (sr *StatusRouter) GetStatus(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.