A set of helper libraries that make using FoxCommerce services easy.
-
Clone it
git clone https://github.com/FoxComm/libs
-
Configure the repository
make configure
-
Build the services
make build
-
Install the services
make install
announcer
is a library that every service may implement in order to tell the
FoxCommerce Router that the service is online and running. As the process for
service discovery has changed, new services should not use this library.
configs
is a set of helpers designed to allow services to find configuration
values from a variety of configuration storage mechanisms.
db
is a set of helpers for interacting with PostgreSQL or Mongo instances.
endpoints
is a mapping to other FoxCommerce services. This is only guaranteed
to be valid when running inside of core FoxCommerce infrastructure.
etcd_client
is a wrapper for interacting with etcd.
logger
is a wrapper around Logrus that puts log messages in the format that
we like to use.
spree
is a helper that allows services to all Spree API endpoints.
utils
is a miscellaneous set of individual utilities.
The contents of this repository are the property to FoxCommerce, Inc. All rights reserved.