package
0.0.0-20201021200231-81dacae79bad
Repository: https://github.com/promoboxx/go-client.git
Documentation: pkg.go.dev

# Packages

Package clientmock is a generated GoMock package.

# Functions

NewBaseClient creates a new BaseClient.
ObjectToJSONReader will v to a io.Reader of the JSON representation of v.
PrefixRoute is a simple helper function to build the route for service to service communicationfunc PrefixRoute(pathPrefix string, appendServiceNameToRoute bool, route string) string {.

# Constants

Error codes.
Error codes.
Error codes.
Error codes.
Error codes.
Error codes.
Error codes.

# Interfaces

BaseClient can do requestsgo:generate mockgen -destination=./clientmock/client-mock.go -package=clientmock github.com/promoboxx/go-client/client BaseClient.

# Type aliases

ServiceFinder can find a service's base URL.