Update dns_manager.go

This commit is contained in:
2025-01-08 00:52:33 +03:00
parent b2996de54d
commit 85e42ef70c

View File

@ -18,7 +18,7 @@ type Record struct {
TTL uint16
}
type actions interface {
type Actions interface {
AddRecord(Record) Response
DeleteRecord() Response
UpdateRecord(Record) Response
@ -26,7 +26,7 @@ type actions interface {
}
type manager interface {
New() *actions
New() Actions
}
type Response struct {
@ -34,6 +34,6 @@ type Response struct {
message string
}
func New(manager_config manager) *actions {
func New(manager_config manager) Actions {
return manager_config.New()
}