Add DNS Stats widget
This commit is contained in:
parent
822b72eee4
commit
1df080983a
10 changed files with 591 additions and 2 deletions
|
|
@ -65,6 +65,8 @@ func New(widgetType string) (Widget, error) {
|
|||
widget = &Extension{}
|
||||
case "group":
|
||||
widget = &Group{}
|
||||
case "dns-stats":
|
||||
widget = &DNSStats{}
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue