Skip to content

v0.2.0 - HTTP support, Docker & Kubernetes files

Latest
Compare
Choose a tag to compare
@Lut99 Lut99 released this 15 May 12:00

Added

  • The http feature which, when enabled, compiles a variant of the echo server that echoes HTTP requests instead of raw bytes
    • GET /, echoes back the body of the incoming HTTP request.
    • GET /health always echoes 'OK' in the body of the reply.
  • The --address option, to change the address to which the server binds.
    • Note this is currently slightly awkward, as the port has to be given here to satisfy SocketAddr's parser, but is then overridden by the normal port argument. Can be fixed, but requires custom address parser.
  • A Dockerfile to build it and launch it with Docker.
    • It has also been published to DockerHub: <>.
  • Kubernetes Deployment and Service files to launch it with Kubernetes.