Add schema et all.
This commit is contained in:
parent
45da04bec7
commit
45f1db6263
1 changed files with 3 additions and 4 deletions
|
@ -7,7 +7,6 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/gorilla/schema"
|
"github.com/gorilla/schema"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"io/ioutil"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"time"
|
"time"
|
||||||
|
@ -96,12 +95,12 @@ type InterfaceFilter struct {
|
||||||
Mtu string `schema:"mtu"`
|
Mtu string `schema:"mtu"`
|
||||||
MgmtOnly string `schema:"mgmt_only"`
|
MgmtOnly string `schema:"mgmt_only"`
|
||||||
Mode string `schema:"mode"`
|
Mode string `schema:"mode"`
|
||||||
Description string `schema:description"`
|
Description string `schema:"description"`
|
||||||
Q string `schema:"q"`
|
Q string `schema:"q"`
|
||||||
Device string `schema:"device"`
|
Device string `schema:"device"`
|
||||||
DeviceId string `schema:"device_id"`
|
DeviceId string `schema:"device_id"`
|
||||||
Cabled string `schema:cabled"`
|
Cabled string `schema:"cabled"`
|
||||||
Kind string `schema:Kind"`
|
Kind string `schema:"kind"`
|
||||||
LagId string `schema:"lag_id"`
|
LagId string `schema:"lag_id"`
|
||||||
MacAddress string `schema:"mac_address"`
|
MacAddress string `schema:"mac_address"`
|
||||||
Tag string `schema:"tag"`
|
Tag string `schema:"tag"`
|
||||||
|
|
Loading…
Reference in a new issue