aggregator

package
v0.0.0-...-db3a1d9 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

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 ParseRequestDataset

func ParseRequestDataset(c *gin.Context) (map[string]interface{}, error)

func StartServer

func StartServer(dataLogger feedback.DataLogging) (err error)

StartServer starts HTTP server

Types

type FeedbackResponse

type FeedbackResponse struct {
	Message feedback.ModelFeedback `json:"message"`
}

Jump to

Keyboard shortcuts

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