func (T *Traceroute) Version() string {
	return "0.1"
}
Version : Version  getter
package traceroute
import (
	"encoding/gob"
	"encoding/json"
	"errors"
	"fmt"
	"net"
	"os"
	"path/filepath"
	"time"
	"github.com/BurntSushi/toml"
	"github.com/aeden/traceroute"
	"github.com/netm4ul/netm4ul/core/communication"
	"github.com/netm4ul/netm4ul/core/database/models"
	"github.com/netm4ul/netm4ul/core/events"
	"github.com/netm4ul/netm4ul/modules"
	log "github.com/sirupsen/logrus"
)
type Result struct {
	Source      string
	Destination string
	Max         float32
	Min         float32
	Avg         float32
}
type Config struct {
	MaxHops int `toml:"max_hops"`
}
type Traceroute struct {
	Config Config
}
func NewTraceroute() modules.Module {
	gob.Register(traceroute.TracerouteResult{})
	var t modules.Module
	t = &Traceroute{}
	return t
}
func (T *Traceroute) Name() string {
	return "Traceroute"
}
func (T *Traceroute) Author() string {
	return "Edznux"
}