package
0.0.0-20230118091255-209a15d54dd6
Repository: https://github.com/packtpublishing/building-restful-web-services-with-go.git
Documentation: pkg.go.dev

# Functions

DecodeDecryptRequest fills struct from JSON details of request.
DecodeEncryptRequest fills struct from JSON details of request.
EncodeResponse is common for both the reponses from encrypt and decrypt services.
MakeDecryptEndpoint forms endpoint for request/response of decrypt function.
MakeEncryptEndpoint forms endpoint for request/response of encrypt function.

# Structs

DecryptRequest strctures request coming from client.
DecryptResponse strctures response going to the client.
EncryptRequest strctures request coming from client.
EncryptResponse strctures response going to the client.
EncryptServiceInstance is the implementation of interface for micro service.
InstrumentingMiddleware is a struct representing middleware.
LoggingMiddleware wraps the logs for incoming requests.

# Interfaces

EncryptService is a blueprint for our service.