Documentation ¶
Index ¶
- func AuthenticateUser() fiber.Handler
- func CreateUser() fiber.Handler
- func GetAverageTweetsMoodByList() fiber.Handler
- func GetLatestTweetsByListId(listId string) (*dto.TweetsResposeBody, error)
- func GetSentiment() fiber.Handler
- func GetTextSentiment(text string) (uint8, error)
- func GetTweetsFromToday() fiber.Handler
- func UserFindAll() fiber.Handler
- type SentimentRequestBody
- type SentimentResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticateUser ¶
func AuthenticateUser() fiber.Handler
func CreateUser ¶
func CreateUser() fiber.Handler
func GetAverageTweetsMoodByList ¶
func GetAverageTweetsMoodByList() fiber.Handler
func GetLatestTweetsByListId ¶
func GetLatestTweetsByListId(listId string) (*dto.TweetsResposeBody, error)
func GetSentiment ¶
func GetSentiment() fiber.Handler
func GetTextSentiment ¶
func GetTweetsFromToday ¶
func GetTweetsFromToday() fiber.Handler
func UserFindAll ¶
func UserFindAll() fiber.Handler
Types ¶
type SentimentRequestBody ¶
type SentimentRequestBody struct {
Sentence string `json:"sentence"`
}
type SentimentResponse ¶
type SentimentResponse struct {
Score uint8 `json:"score"`
}
Click to show internal directories.
Click to hide internal directories.