Categorygithub.com/pottava/http-return-everything
modulepackage
0.2.0
Repository: https://github.com/pottava/http-return-everything.git
Documentation: pkg.go.dev

# README

HTTP-Return-Everything

Supported tags and respective Dockerfile links:
・latest (prod/Dockerfile)

Usage

1. Set environment variables

Environment VariablesDescription
ACCESS_LOGSend access logs to /dev/stdout. (default: true)
CONTENT_ENCODINGCompress response data if the request allows. (default: true)

2. Run the application

$ docker run -d -p 80:80 pottava/http-re

  • with docker-compose.yml:
check:
  image: pottava/http-re
  ports:
    - 80:80
  environment:
    - ACCESS_LOG=false
  container_name: check

3. Make HTTP requests

  • GET /
  • GET /envs/
  • GET /envs/key
  • GET /request/
  • GET /request/headers/
  • GET /request/headers/key

# Packages

No description provided by the author