feat(es):增加ES实例中对HTTPS协议的支持,默认证书免校验

This commit is contained in:
fudawei
2025-10-23 15:29:27 +08:00
parent dba19b1e66
commit e6c89fad1b
10 changed files with 84 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ type EsInstance struct {
Code string `json:"code" gorm:"size:32;not null;"`
Name string `json:"name" gorm:"size:32;not null;"`
Protocol string `json:"protocol" gorm:"size:10;not null;"`
Host string `json:"host" gorm:"size:255;not null;"`
Port int `json:"port"`
Network string `json:"network" gorm:"size:20;"`