Files
certigo/backend/providers/types.go
2025-11-20 13:29:13 +01:00

23 lines
722 B
Go

package providers
// SettingField beschreibt ein Konfigurationsfeld
type SettingField struct {
Name string `json:"name"`
Label string `json:"label"`
Type string `json:"type"` // text, password, number, email, url
Required bool `json:"required"`
Description string `json:"description"`
Default string `json:"default,omitempty"`
}
// ProviderInfo enthält Informationen über einen Provider
type ProviderInfo struct {
ID string `json:"id"`
Name string `json:"name"`
DisplayName string `json:"displayName"`
Description string `json:"description"`
Enabled bool `json:"enabled"`
Settings []SettingField `json:"settings"`
}