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:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user