alexellis / alexellis/derek

Prepare Derek for use as an SDK/package

未關閉
#123 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
good first issue help wanted
主要語言
Go
星號
820
分支
68
PR 合併指標
30 天內沒有已合併 PR

描述

## 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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。