Update dns_manager.go
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user