Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdipaolo/sentiment-server
/ types & classes
Types & classes
7 in github.com/cdipaolo/sentiment-server
⨍
Functions
34
◇
Types & classes
7
Struct
AnalyzeJSON
AnalyzeJSON holds the expected JSON request info for the POST /analyze endpoint
model.go:20
Struct
Configuration
Configuration holds configuration information for the service Hooks, used for the hooked analysis endpoint, are given as a map of id's to Hooks. (id'
config.go:43
Struct
Hook
Hook holds information for any hooked requests the consumer might want to make to the POST /task endpoint. When calling POST /task the user passes an
model.go:45
Struct
TaskJSON
TaskJSON holds a generic request for the POST /task endpoint, where the consumer can set a URL to make a GET request from (with the id specified withi
model.go:31
Struct
TimeSeries
TimeSeries holds the expected format for time series data response. Look at the Hook docs for Time to get a sense of how this works.
model.go:128
Struct
TimeSeriesRequest
TimeSeriesRequest holds the expected format for temporal data _returned from a GET hook_
model.go:139
Struct
TimeSeriesResponse
TimeSeriesResponse returns the normal analysis response within a "metadata" key, as well as the analysis of the time series data within a key called "
model.go:12