Skip to content

ruo91/go-http-mdns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-http-mdns

This is a very simple HTTP daemon for testing mDNS service discovery.

It was initially developed for use as a test Docker container (since Docker doesn't support multicast by default, I wanted a quick and lightweight way to test custom network setups).

(Testing is easy enough - the container will fail to start if you don't have any real multicast support.)

Requirements

You need to have Go 1.4+ installed.

Quick Start

make bootstrap; make deps; make
./web

Using the Container

make container
docker run -ti rcarmo/go-http-mdns

Building under Mac OS X

If you're on a Mac and have Go from Homebrew, you need to enable cross-compiling for Linux like so:

cd /usr/local/opt/go/libexec/src/
GOOS=linux GOARCH=amd64 ./make.bash --no-clean

About

A minimal web server inside a Docker container for testing mDNS networking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 73.8%
  • Makefile 26.2%