# README
rtc-api
To make unit testing easier, rtc-api can help you run microservices and its dependencies, it will replace the mock with a real microservice api.
1. Getting Started
Download rtc
Rename
- rename
rtc-darwin_amd64
tortc
Start(simple)
$ ./rtc run mysql,kafka,sqlserver,redis
Start(advanced)
download example file from github or gitlab
$ docker-compose -f example/docker-compose.yml up -d
$ ./rtc run go-api --env local --image-env="" --docker-no-log
Service find
You can find all the servcies and support fuzzy queries.
$ ./rtc ls
go-api
inventories-api
inventories-csl-adapter
$ ./rtc ls in
inventories-api
inventories-csl-adapter
2. log
https://job-monitor.p2shop.com.cn/#/
service: rtc-api
3. References
- mysql tool: mysql
- mysql dump: dump
- joblog: joblog
- kafka tool: kafka-go
- host tool : goodhosts
- configuration tool:
- wait-for: wait-for
- utils: https://github.com/pangpanglabs/goutils