Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatController ¶
ChatController 定义聊天控制器接口
func NewChatController ¶
func NewChatController(chatService service.ChatService) ChatController
NewChatController 创建聊天控制器实例
type HealthController ¶
HealthController defines the health check controller interface
func NewHealthController ¶
func NewHealthController() HealthController
NewHealthController creates a new health check controller instance
type UserController ¶
type UserController interface { Register(c *gin.Context) Login(c *gin.Context) SendVerificationCode(c *gin.Context) }
UserController defines the user controller interface
func NewUserController ¶
func NewUserController(userService service.UserService, verificationService service.VerificationService) UserController
NewUserController creates a new user controller instance
Click to show internal directories.
Click to hide internal directories.