models

package
v0.0.0-...-587717d Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKafkaEvaluationResponseMessage

func CreateKafkaEvaluationResponseMessage(institutionID string, origin string,
	startTime int64, endTime int64, evaluationResult interface{}) (string, error)

Types

type EvaluationRequest

type EvaluationRequest struct {
	InstitutionID string `json:"institution_id"`
	URL           string `json:"url"`
}

type EvaluationResponse

type EvaluationResponse struct {
	InstitutionID    string          `json:"institution_id"`
	Origin           string          `json:"origin"`
	StartTime        int64           `json:"start_time"`
	EndTime          int64           `json:"end_time"`
	EvaluationResult json.RawMessage `json:"evaluation_result"`
}

type KafkaErrorMessage

type KafkaErrorMessage struct {
	Origin string `json:"origin"`
	Url    string `json:"url"`
	Error  string `json:"error"`
}

type KafkaMessage

type KafkaMessage struct {
	Origin string `json:"origin"`
}

Jump to

Keyboard shortcuts

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