The rpc module provides the synchronous communication using local calls or the HTTP(S) protocol. It contains both server and client side implementations.
Packages
The module contains the following packages:
- Auth - authentication and authorization components
- Build - HTTP service factory
- Clients - mechanisms for retrieving connection settings from the microservice’s configuration and providing clients and services with these settings
- Controllers - basic implementation of controllers for connecting via the HTTP/REST protocol and using the Commandable pattern over HTTP
Use
Get the package from the Github repository:
go get -u github.com/pip-services4/pip-services4-go/tree/main/pip-services4-http-go@latest