只是一个简单的计网课设
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
eruhs/types.go

22 lines
603 B

package main
import (
"eruhs/describer"
"time"
)
type UIDataPackView struct {
Id int `json:"id"`
Time time.Duration `json:"time"`
Source string `json:"source"`
Dest string `json:"dest"`
Proto string `json:"proto"`
Length int `json:"length"`
}
type LayerDescribe struct {
HeaderRaw string `json:"header"`
ApplicationPayloadRaw string `json:"payload"`
LayerName string `json:"name"`
Describe describer.Describe `json:"describe"`
}