handlers

package
v0.0.0-...-f14b2f1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

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 GetTextSentiment(text string) (uint8, error)

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"`
}

Jump to

Keyboard shortcuts

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