2025-02-13 15:28:29 +08:00
|
|
|
package dto
|
|
|
|
|
|
|
|
type OllamaModelInfo struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
Size string `json:"size"`
|
|
|
|
Modified string `json:"modified"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type OllamaModelName struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
}
|
2025-02-14 14:26:05 +08:00
|
|
|
|
|
|
|
type OllamaBindDomain struct {
|
|
|
|
Domain string `json:"domain" validate:"required"`
|
|
|
|
AppInstallID uint `json:"appInstallID" validate:"required"`
|
|
|
|
SSLID uint `json:"sslID"`
|
|
|
|
AllowIPs []string `json:"allowIPs"`
|
|
|
|
WebsiteID uint `json:"websiteID"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type OllamaBindDomainReq struct {
|
|
|
|
AppInstallID uint `json:"appInstallID" validate:"required"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type OllamaBindDomainRes struct {
|
|
|
|
Domain string `json:"domain"`
|
|
|
|
SSLID uint `json:"sslID"`
|
|
|
|
AllowIPs []string `json:"allowIPs"`
|
|
|
|
WebsiteID uint `json:"websiteID"`
|
|
|
|
}
|