client.go 258 B

1234567891011121314151617
  1. package client
  2. import (
  3. "sync"
  4. "git.giaever.org/joachimmg/go-log.git/log"
  5. "git.giaever.org/joachimmg/m-dns/zone"
  6. )
  7. type MDnsClient struct {
  8. sync.Mutex
  9. ipv4 map[string]*net.UDPConn
  10. ipv6 map[string]*net.UDPConn
  11. running bool
  12. runCh chan struct{}
  13. }