alexellis / alexellis/derek

Prepare Derek for use as an SDK/package

Abierto
#123 1 comentario 0 reacciones 0 asignados Ver en GitHub
good first issue help wanted
Lenguaje dominante
Go
Estrellas
820
Forks
68
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Expected Behaviour

We should prepare Derek for use as an SDK/package so that he can be run on any platform - a Go microservice, AWS Lambda, Heroku etc.

This is the first step that makes Derek a package that someone can vendor in Go and then make use of in their own stand-alone way. #13

## Current Behaviour

Derek may "os.Exit" at several points in the code.

Derek's configuration may depend on certain characteristics of OpenFaaS.

## Possible Solution

* Try to vendor Derek as he is right now, see what happens.
* Compile a list of suggestions on this issue and ask for input
* Move all code out of `main` and into packages

## Acceptance criteria

* Test Derek spun up in a single Go HTTP server outside of a container
* Make sure there is no regression

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.