Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDatabase ¶
InitDatabase function initialize database
Types ¶
type Accesstoken ¶
Accesstoken Model Object
type MessageCreate ¶
type MessageCreate struct {
Message string `json:"message"`
}
MessageCreate is a message creation object
type MessageResponse ¶
type MessageResponse struct {
Message string `json:"message"`
CreatedAt time.Time `json:"created_at"`
FromUser string `json:"from"`
ToUser string `json:"to"`
}
MessageResponse is a API message response
Click to show internal directories.
Click to hide internal directories.