Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simple balance service in scala and akka

NotificationsYou must be signed in to change notification settings

qza/balance-service-akka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple balance service that shows how to useakka-http andakka-streams to build microservices.

start server:

sbt run

see home page

http://localhost:8080/

list balances

http://localhost:8080/balances

execute collect total with callback

curl -i http://localhost:8080/balances/mark/total?callback=http://localhost:8080/ext/callback/balance/totalHTTP/1.1 200 OKServer: akka-http/2.3.12Content-Type: text/plain; charset=UTF-8Content-Length: 2OK

check health

http://localhost:8080/health

About

Simple balance service in scala and akka

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp