harshadmanglani/polaris
概要
Polaris:Golang向けの高性能ワークフローオーケストレーター
ビジネス・金融計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルQuick overview
Polaris helps you create, store and run workflows. A workflow is a series of multiple steps, and can often be long running.
You don't need to worry about:
- Sequence of steps (it will figure out which the sequence along with the ones that can run concurrently)
- Explicitly pausing workflows (when it runs out of new data to move the workflow ahead, it pauses)
Payments and Fulfilment
Polaris is especially useful for payments, e-commerce and fulfilment use cases. Consider a payment gateway trying to process payments via cards and netbanking.
Often, a lot of the logic would overlap - such as invoicing, settlements, etc. Polaris can neatly structure your code, making it more maintainable than ever.
|
|
Each builder (workflow's unit of work) would maintain and process some logic, which can be reused across multiple workflows.
For example,
type TokenizeCard struct {
TokenService TokenService
DB TokenStore
}
func (b TokenizeCard) GetBuilderInfo() BuilderInfo {
return BuilderInfo{
Consumes: []IData{ EncryptedCardData{} },
Produces: CardTokenData{},
}
}
func (b TokenizeCard) Process(ctx BuilderContext) IData {
enc := ctx.Get(EncryptedCardData{})
token := b.TokenService.Generate(enc)
b.DB.Save(token)
return CardTokenData{ Token: token }
}
For more details, dive into the docs!
関連プロジェクトを探す
読み込み中…