From 245b477e37871b0fb24adb2c9297a9db316a006d Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Tue, 17 Sep 2019 00:42:28 +0200 Subject: [PATCH] doc: improve readme. --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5659ae5..e5e2c3a 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,12 @@ # whoami [![Docker Pulls](https://img.shields.io/docker/pulls/containous/whoami.svg)](https://hub.docker.com/r/containous/whoami/) +[![Build Status](https://travis-ci.com/containous/whoami.svg?branch=master)](https://travis-ci.com/containous/whoami) Tiny Go webserver that prints os information and HTTP request to output ## Usage -### Flags - -- `cert`: give me a certificate. -- `key`: give me a key. -- `port`: give me a port number. (default: 80) - ### Paths - `/data?size=n`: creates a response with a size `n`. @@ -23,6 +18,12 @@ Tiny Go webserver that prints os information and HTTP request to output - `GET`, `HEAD`, ...: returns a response with the status code defined by the `POST` - `POST`: changes the status code of the `GET` (`HEAD`, ...) response. +### Flags + +- `cert`: give me a certificate. +- `key`: give me a key. +- `port`: give me a port number. (default: 80) + ## Examples ```console