The second workshop of Night Login App Development Community (NADC) - Intro to RPC using Go. This is an example of basic implementation of traditional RPC.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Clone repository:
git clone git@github.com:ridwanakf/nadc-intro-to-rpc.git
- Run dep on both server and client directories:
dep ensure -v
Running server:
make run-server
Running client:
make run-client
This repository is organized in the following directory structure.
nadc-intro-to-rpc
|-- client # Directory of RPC Client code
| |-- internal # Go files in this folder represent the Big-Pictures and Contracts of the system
| |-- app.go # main package, and entry point of the app
| |-- vendor # Dependencies folder that's maintained by dep tool https://golang.github.io/dep/
| |-- Gopkg.lock # https://golang.github.io/dep/docs/Gopkg.lock.html
| |-- Gopkg.toml # https://golang.github.io/dep/docs/Gopkg.toml.html
|-- server # Directory of RPC Server code
| |-- internal # Go files in this folder represent the Big-Pictures and Contracts of the system
| |-- app.go # main package, and entry point of the app
| |-- vendor # Dependencies folder that's maintained by dep tool https://golang.github.io/dep/
| |-- Gopkg.lock # https://golang.github.io/dep/docs/Gopkg.lock.html
| |-- Gopkg.toml # https://golang.github.io/dep/docs/Gopkg.toml.html
|-- Makefile # Makefile
- Golang