Add schema et all.

This commit is contained in:
Kalle Carlbark 2019-09-11 11:09:09 +02:00
parent 45da04bec7
commit 45f1db6263
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670

View file

@ -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"`