package config

const (
	WeibuUrl = "https://api.threatbook.cn/v3/ip/query?apikey=d625206f5fdb49eeb98b0c30f46f4310a444f76d392540e8a0bb160d8a7d02c4&resource="
)

// var Conf Config = Config{
// 	Debug: true,
// }

//	type Config struct {
//		Debug bool
//	}
type ElasticsearchConfig struct {
	Url      string `json:"url"`
	Username string `json:"username"`
	Password string `json:"password"`
	Sniff    bool   `json:"sniff"`
}

type KafkaConfig struct {
	Brokers    []string `json:"brokers"`
	Topic      string   `json:"topic"`
	Group      string   `json:"group"`
	AuthMethod string   `json:"auth_method"`
	Username   string   `json:"username"`
	Password   string   `json:"password"`
	ScramAlgo  string   `json:"scram_algo"`
}

func init() {}
