Documentation ¶
Index ¶
- type ApiHandler
- func (handler *ApiHandler) AuthMiddleware() gin.HandlerFunc
- func (handler *ApiHandler) CreateNewConversation(c *gin.Context)
- func (handler *ApiHandler) DoQuery(c *gin.Context)
- func (handler *ApiHandler) GetAccessToken(c *gin.Context)
- func (handler *ApiHandler) GetConversations(c *gin.Context)
- func (handler *ApiHandler) GetQueries(c *gin.Context)
- func (handler *ApiHandler) GetTemplates(c *gin.Context)
- func (handler *ApiHandler) GetUserDetails(c *gin.Context)
- func (handler *ApiHandler) StoreTemplate(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiHandler ¶
type ApiHandler struct {
// contains filtered or unexported fields
}
func NewApiHandler ¶
func NewApiHandler(service core.Service) *ApiHandler
func (*ApiHandler) AuthMiddleware ¶
func (handler *ApiHandler) AuthMiddleware() gin.HandlerFunc
func (*ApiHandler) CreateNewConversation ¶
func (handler *ApiHandler) CreateNewConversation(c *gin.Context)
func (*ApiHandler) DoQuery ¶
func (handler *ApiHandler) DoQuery(c *gin.Context)
func (*ApiHandler) GetAccessToken ¶
func (handler *ApiHandler) GetAccessToken(c *gin.Context)
func (*ApiHandler) GetConversations ¶
func (handler *ApiHandler) GetConversations(c *gin.Context)
func (*ApiHandler) GetQueries ¶
func (handler *ApiHandler) GetQueries(c *gin.Context)
func (*ApiHandler) GetTemplates ¶
func (handler *ApiHandler) GetTemplates(c *gin.Context)
func (*ApiHandler) GetUserDetails ¶
func (handler *ApiHandler) GetUserDetails(c *gin.Context)
func (*ApiHandler) StoreTemplate ¶
func (handler *ApiHandler) StoreTemplate(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.