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