http

command
v1.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

Host the files in a directory at listener side and make it accessible on dialer side.

Basic usage:

On listener side:

go run examples/http/main.go -l -n 4 -dir .

and you will see the listening address at console output:

Serving content at <addr>

Then on dialer side:

go run examples/http/main.go -d -a <addr> -http :8080

Now you can visit http://127.0.0.1:8080 to see the content of serving directory.

Use --help to see more options.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL