diff options
Diffstat (limited to 'datastructs.go')
-rw-r--r-- | datastructs.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/datastructs.go b/datastructs.go index 4a30da7..8220c62 100644 --- a/datastructs.go +++ b/datastructs.go @@ -4,7 +4,7 @@ import ( "time" ) -type RawData struct { +type rawData struct { ipSrc string ipDst string asSrc int @@ -16,7 +16,7 @@ type RawData struct { time time.Time } -type CleanData struct { +type cleanedData struct { ipbSrc string ipbDst string asSrc int @@ -28,7 +28,7 @@ type CleanData struct { time time.Time } -func (cd *CleanData) equals(other *CleanData) bool { +func (cd *cleanedData) equals(other *cleanedData) bool { return cd.ipbSrc == other.ipbSrc && cd.ipbDst == other.ipbDst && cd.asSrc == other.asSrc && |