ttr.git


ttr

~ tiny traceroute in golang
git clone https://github.com/djnnvx/ttr.git
log | files | refs | archive | README | LICENSE

types.go (187B)

      1 package cli
      2 
      3 type TtrOptions struct {
      4 
      5 	// Enable this to force IPv6
      6 	ForceIPv6 bool
      7 }
      8 
      9 func GetDefaultOptions() TtrOptions {
     10 
     11 	opts := TtrOptions{
     12 		ForceIPv6: false,
     13 	}
     14 
     15 	return opts
     16 }