mirror of
https://github.com/luscis/openlan.git
synced 2025-10-06 17:17:00 +08:00
fix: format output parameters
This commit is contained in:
@@ -3,15 +3,15 @@ package models
|
||||
import "time"
|
||||
|
||||
type Output struct {
|
||||
Network string
|
||||
Protocol string
|
||||
Connection string
|
||||
Vlan int
|
||||
Device string
|
||||
RxBytes uint64
|
||||
TxBytes uint64
|
||||
ErrPkt uint64
|
||||
NewTime int64
|
||||
Network string
|
||||
Protocol string
|
||||
Remote string
|
||||
Segment int
|
||||
Device string
|
||||
RxBytes uint64
|
||||
TxBytes uint64
|
||||
ErrPkt uint64
|
||||
NewTime int64
|
||||
}
|
||||
|
||||
func (o *Output) UpTime() int64 {
|
||||
|
Reference in New Issue
Block a user