Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { ID uint `gorm:"primaryKey"` IP string `gorm:"uniqueIndex:idx_device"` Community string `gorm:"uniqueIndex:idx_device"` SysName string SysLocation string IsAlive bool Template Template `gorm:"constraint:OnUpdate:CASCADE,OnDelete:SET NULL;"` TemplateID uint LastCheck time.Time CreatedAt time.Time UpdatedAt time.Time }
type DeviceWithOID ¶
type Fat ¶
type Fat struct { ID uint `gorm:"primaryKey"` LocationID uint Splitter uint8 Latitude float64 `gorm:"uniqueIndex:idx_unique_fat_location"` Longitude float64 `gorm:"uniqueIndex:idx_unique_fat_location"` Address string `gorm:"uniqueIndex:idx_unique_fat_location"` Fat string ODN string Location Location `gorm:"constraint:OnUpdate:CASCADE,OnDelete:SET NULL"` CreatedAt time.Time UpdatedAt time.Time }
type FatInterface ¶
type FatResponse ¶
type FatResponse struct { ID uint FatInterfaceID uint InterfaceID uint DeviceID uint LocationID uint Splitter uint8 Latitude float64 Longitude float64 Address string Fat string ODN string FatInterface FatInterface Location Location Interface Interface Device Device CreatedAt time.Time UpdatedAt time.Time }
type Interface ¶
type Interface struct { ID uint `gorm:"primaryKey"` IfIndex uint `gorm:"uniqueIndex:idx_interface"` IfName string IfDescr string IfAlias string Device Device `gorm:"constraint:OnUpdate:CASCADE,OnDelete:SET NULL;"` DeviceID uint `gorm:"uniqueIndex:idx_interface"` CreatedAt time.Time UpdatedAt time.Time }
type Measurement ¶
type Report ¶
Click to show internal directories.
Click to hide internal directories.