Add custom API widget
This commit is contained in:
parent
2dd5b29303
commit
84a7f90129
8 changed files with 244 additions and 8 deletions
|
|
@ -69,6 +69,8 @@ func New(widgetType string) (Widget, error) {
|
|||
widget = &DNSStats{}
|
||||
case "split-column":
|
||||
widget = &SplitColumn{}
|
||||
case "custom-api":
|
||||
widget = &CustomApi{}
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue