Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthHttp ¶
func NewAuthHttp(authService authService) *authHTTP
func NewChatHttp ¶
func NewChatHttp(chatService chatService) *chatHTTP
func NewUserHttp ¶
func NewUserHttp(userService userService) *userHTTP
Types ¶
type CreateUserRequest ¶
type CreateUserRequest struct { UserName string `json:"userName"` Password string `json:"password"` }
func (*CreateUserRequest) Validate ¶
func (r *CreateUserRequest) Validate() bool
type CreateUserResponse ¶
type LoginResponse ¶
type LoginResponse struct {
Url string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.