package main

import "time"

// Standards for the result by launching a Missile
type Harm struct {
    code      int        `json:"code"`
    timestamp time.Time     `json:"timestamp"`
    latency   time.Duration `json:"latency"`
    bytesOut  uint64        `json:"bytes_out"`
    bytesIn   uint64        `json:"bytes_in"`
    error     string        `json:"error"`
}

package main

import "time"

// Standards for the result by launching a Missile
type Harm struct {
    startTime time.Time `json:"start_time"`
    endTime time.Time `json:"end_time"`
    statusCode      int        `json:"status_code"`
    timestamp time.Time     `json:"timestamp"` // When a tick occur
    latency   time.Duration `json:"latency"`   // Round Trip Latency
    sentBytes  uint64        `json:"sent_bytes"`
    receivedBytes   uint64        `json:"received_bytes"`
    error     string        `json:"error"`
}

Add startTime,endTime and change some variables name
Add startTime,endTime and change some variables name
