MCPcopy Create free account
hub / github.com/cdipaolo/sentiment-server / HandleSentiment

Function HandleSentiment

handler.go:58–99  ·  view source on GitHub ↗

HandleSentiment takes in a POST with JSON containing a 'text' param. The handler runs sentiment analysis on the text and returns the results.

(r http.ResponseWriter, req *http.Request)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected