/gsloc-go-sdk

contains api generation of GSLoC is a open source Global Server Load Balancing (GSLB) solution

Primary LanguageGoApache License 2.0Apache-2.0

⚠️WIP⚠️

GSLoC Go SDK

GSLoC is a open source Global Server Load Balancing (GSLB) solution.

GSLoC go sdk is an api generated of lbaas-api.

It has a client implementation for interacting with GSLoC with authentication and skeleton to make server (used in gsloc)

Other GSLoC repositories

  • gsloc: GSLoC server implementation.
  • gsloc-cli: GSLoC cli for interacting with server.
  • gsloc-api: Api definition in protobuf and grpc with code generation tools and architectural docs and doc api.
  • gsloc-go-sdk: Go sdk for gsloc api used in gsloc implementation.

Pre-Commit Tool

We use the pre-commit tool to automatically enforce coding standards and run various checks on code changes. To get started, follow these steps:

  1. Install pre-commit globally on your local machine. You can do this by running the following command in your terminal (prefer using pip3):
pip install pre-commit
  1. After installing pre-commit, navigate to the root directory of the project and run the following command to install the pre-commit hooks:
pre-commit install
  1. Now, every time you make a commit, pre-commit will automatically run the configured checks on your changes and prevent the commit if any issues are found.