Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶ added in v0.1.4
type AuthController struct {
BaseController
}
AuthController 认证控制器
func NewAuthController ¶ added in v0.1.4
func NewAuthController() *AuthController
func (*AuthController) Auth ¶ added in v0.1.4
func (c *AuthController) Auth(ctx *gin.Context)
Auth 认证
func (*AuthController) Info ¶ added in v0.1.4
func (c *AuthController) Info(ctx *gin.Context)
Info 登录用户信息
type BaseController ¶
type BaseController struct { }
func (*BaseController) ResponseJson ¶
func (*BaseController) ResponseJson(ctx *gin.Context, code int, errorMsg string, data interface{})
type ChatController ¶
type ChatController struct {
BaseController
}
ChatController 首页控制器
func (*ChatController) Completion ¶
func (c *ChatController) Completion(ctx *gin.Context)
Completion 回复
Click to show internal directories.
Click to hide internal directories.