handlers

package
v0.0.0-...-335761d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL