Documentation ¶
Index ¶
- Constants
- func ActiveUsers(ctx echo.Context) (err error)
- func AllMessages(ctx echo.Context) (err error)
- func CreateMessage(ctx echo.Context) (err error)
- func ListOfUsers(ctx echo.Context) (err error)
- func Login(ctx echo.Context) (err error)
- func Register(ctx echo.Context) (err error)
- func WebSocket(ctx echo.Context) (err error)
- type AuthRequest
- type LoginResponse
- type MessageRequest
- type RegisterResponse
Constants ¶
View Source
const ChatLink = "/websoket?token="
Variables ¶
This section is empty.
Functions ¶
func ActiveUsers ¶ added in v1.2.0
func AllMessages ¶ added in v1.4.0
func CreateMessage ¶ added in v1.4.0
func ListOfUsers ¶ added in v1.2.0
Types ¶
type AuthRequest ¶ added in v1.1.3
type LoginResponse ¶
type LoginResponse struct {
Url string `json:"url"`
}
type MessageRequest ¶ added in v1.4.0
type MessageRequest struct {
Body string `json:"body"`
}
type RegisterResponse ¶
Click to show internal directories.
Click to hide internal directories.