1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00

import configuration file

This commit is contained in:
2019-10-24 20:25:59 +08:00
parent 9df3263548
commit 142a3a7bdf
6 changed files with 61 additions and 14 deletions

View File

@@ -8,6 +8,12 @@ import (
"net/http"
)
type Configuration struct {
KafkaBrokers []string `json:"kafkaBrokers"`
KafkaTopic string `json:"kafkaTopic"`
SchedulerPolicy string `json:"schedulerPolicy"`
}
type MsgSubmit struct {
Code int `json:"code"`
Error string `json:"error"`