liuhaijun 3f5f28d785 add sheduling agent
Change-Id: I89f35fb3984044c57f10727432755012542f9fd8
2023-11-16 10:55:57 +00:00

21 lines
763 B
Go

package config
type NatsConfig struct {
Url string `ini:"url" yaml:"url"`
User string `ini:"user" yaml:"user"`
Password string `ini:"password" yaml:"password"`
//ToAgentUnicastSubject string `ini:"to_agent_unicast_subject" yaml:"to_agent_unicast_subject"`
//ToAgentBroadcastSubject string `ini:"to_agent_broadcast_subject" yaml:"to_agent_broadcast_subject"`
//ToScheduleSubject string `ini:"to_schedule_subject" yaml:"to_schedule_subject"`
}
var Nats = NatsConfig{
Url: "nats://192.168.12.110:30529",
User: "admin",
Password: "T0pS3cr3tFGThjjds56",
//ToAgentUnicastSubject: "cfn_to_agent_unicast_{rid}",
//ToAgentBroadcastSubject: "cfn_to_agent_broadcast",
//ToScheduleSubject: "cfn_to_schedulecfn_to_schedule",
}