Discover Packages
github.com/BalamutDiana/grps_server
module
Version:
v0.0.0-...-20dc1fd
Opens a new window with list of versions in this module.
Published: Sep 22, 2022
License: MIT
Opens a new window with license information.
README
README
¶
Golang gRPC server
This application accepts function call requests using gRPC.
c.Fetch(url) - receives CSV document by endpoint, adds/updates data to MongoDB
c.List(params) - returns sorted and paginated data from MongoDB
How to use this
Run containers with MongoDB:
docker run --rm -d --name audit-log-mongo -e MONGO_INITDB_ROOT_USERNAME=admin -e MONGO_INITDB_ROOT_PASSWORD=qwerty -p 27017:27017 mongo:latest
Build project and run. Waiting gRPC requests from client.
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.