Documentation ¶
Index ¶
Constants ¶
View Source
const (
CfgPort = "port"
)
Variables ¶
This section is empty.
Functions ¶
func DataLoggingMiddleware ¶
func DataLoggingMiddleware(instance feedback.DataLogging, loggerTag string) gin.HandlerFunc
DataLoggingMiddleware adds dataLoggingInstance and dataLoggingTag contexts to request
func StartServer ¶
func StartServer(dataLogger feedback.DataLogging) (err error)
StartServer starts HTTP server
Types ¶
type FeedbackResponse ¶
type FeedbackResponse struct {
Message feedback.ModelFeedback `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.