mirror of https://github.com/jetkvm/kvm.git
ran go mod tidy
This commit is contained in:
parent
68a1b152f7
commit
584e7939ad
2
go.mod
2
go.mod
|
@ -12,6 +12,7 @@ require (
|
||||||
github.com/creack/pty v1.1.23
|
github.com/creack/pty v1.1.23
|
||||||
github.com/gin-gonic/gin v1.9.1
|
github.com/gin-gonic/gin v1.9.1
|
||||||
github.com/google/uuid v1.6.0
|
github.com/google/uuid v1.6.0
|
||||||
|
github.com/gosimple/slug v1.15.0
|
||||||
github.com/gwatts/rootcerts v0.0.0-20240401182218-3ab9db955caf
|
github.com/gwatts/rootcerts v0.0.0-20240401182218-3ab9db955caf
|
||||||
github.com/hanwen/go-fuse/v2 v2.5.1
|
github.com/hanwen/go-fuse/v2 v2.5.1
|
||||||
github.com/hashicorp/go-envparse v0.1.0
|
github.com/hashicorp/go-envparse v0.1.0
|
||||||
|
@ -42,7 +43,6 @@ require (
|
||||||
github.com/go-playground/universal-translator v0.18.1 // indirect
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
||||||
github.com/go-playground/validator/v10 v10.20.0 // indirect
|
github.com/go-playground/validator/v10 v10.20.0 // indirect
|
||||||
github.com/goccy/go-json v0.10.2 // indirect
|
github.com/goccy/go-json v0.10.2 // indirect
|
||||||
github.com/gosimple/slug v1.15.0 // indirect
|
|
||||||
github.com/gosimple/unidecode v1.0.1 // indirect
|
github.com/gosimple/unidecode v1.0.1 // indirect
|
||||||
github.com/json-iterator/go v1.1.12 // indirect
|
github.com/json-iterator/go v1.1.12 // indirect
|
||||||
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
|
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
|
||||||
|
|
|
@ -131,7 +131,6 @@ func startMDNS() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start a new server
|
// Start a new server
|
||||||
//fmt.Printf("Starting mDNS server on jetkvm.local\n")
|
|
||||||
LoadConfig()
|
LoadConfig()
|
||||||
fmt.Printf("Starting mDNS server on %v\n", config.NameConfig.DNS)
|
fmt.Printf("Starting mDNS server on %v\n", config.NameConfig.DNS)
|
||||||
addr4, err := net.ResolveUDPAddr("udp4", mdns.DefaultAddressIPv4)
|
addr4, err := net.ResolveUDPAddr("udp4", mdns.DefaultAddressIPv4)
|
||||||
|
@ -156,7 +155,6 @@ func startMDNS() error {
|
||||||
|
|
||||||
mDNSConn, err = mdns.Server(ipv4.NewPacketConn(l4), ipv6.NewPacketConn(l6), &mdns.Config{
|
mDNSConn, err = mdns.Server(ipv4.NewPacketConn(l4), ipv6.NewPacketConn(l6), &mdns.Config{
|
||||||
LocalNames: []string{config.NameConfig.DNS},
|
LocalNames: []string{config.NameConfig.DNS},
|
||||||
//LocalNames: []string{"jetkvm.local"}, //TODO: make it configurable
|
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
mDNSConn = nil
|
mDNSConn = nil
|
||||||
|
|
Loading…
Reference in New Issue