command
Version:
v0.0.0-...-a649600
Opens a new window with list of versions in this module.
Published: Jan 6, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Redirect
This demonstrates how to http redirect using an API service
## Usage
Run the micro API
micro --registry=mdns api
Run the redirect API
go run main.go --registry=mdns
Make request
curl -v http://localhost:8080/redirect/url
Should return
HTTP/1.1 301 Moved Permanently
Location: https://google.com
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.