daemon

package
v5.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

README

porterd

porterd is a HTTP service that runs on your EC2 instance

Connecting to porterd

The following environment variables are available in your service's docker container.

PORTERD_TCP_ADDR
PORTERD_TCP_PORT

This command from inside the container (not on the host) should return a 200 response

curl -i "http://$PORTERD_TCP_ADDR:$PORTERD_TCP_PORT/health"

Logging

porterd generates a request id for every request. The key is RequestId and the value is a UUIDv4

Both the key and value can be overridden using headers.

To just override the value with your own request id use X-Request-Id

To override the key and value use X-Request-Id-Key and X-Request-Id-Value

Documentation

Overview

* (c) 2016-2018 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

This section is empty.

Source Files

  • daemon.go

Directories

Path Synopsis
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.
* (c) 2016-2018 Adobe.

Jump to

Keyboard shortcuts

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