ko icon indicating copy to clipboard operation
ko copied to clipboard

dapp skeleton based on go-kit

ko

dapp skeleton based on go-kit

run

make

test

curl -XPOST -d'{"param":{"orderId":"123"}}' http://localhost:4001/svc/order/v1/order
{"code":0,"msg":"ok","data":{"order":"123"}}

curl http://localhost:4001/svc/ucenter/v1/user/122552323
{"code":0,"msg":"ok","data":{"user":"122552323"}}

architecture

traditional linus server architecture

architecture

docker k8s architecture

...

todo

  • [ ] gateway
    • [ ] rate limit
    • [x] logging
      • [x] access.log / error.log
    • [x] instrumentation
    • [ ] auth
      • [ ] jwt
      • [ ] cookie
    • [ ] load balance
    • [x] error handle
  • [ ] svc
    • [ ] connections
      • [ ] mysql
      • [ ] redis
    • [ ] logging
    • [ ] orm
    • [ ] mq
  • [ ] code-generator-cmd-tool
  • [ ] graceful restart/project hot update
  • [ ] docker env