polaris-go

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more

README

polaris-go

Polaris is an operation centre that supports multiple programming languages, with high compatibility to different application framework. Polaris-go is golang SDK for Polaris.

Overview

Polaris-go provide features listed as below:

  • ** Service instance registration, and health check

    Provides API on/offline registration instance information, with regular report to inform caller server's healthy status.

  • ** Service discovery

    Provides multiple API, for users to get a full list of server instance, or get one server instance after route rule filtering and loadbalancing, which can be applied to srevice invocation soon.

  • ** Service circuitbreaking

    Provide API to report the invocation result, and conduct circuit breaker instance/group insolation based on collected data, eventually recover when the system allows.

  • ** Service ratelimiting

    Provides API for applications to conduct quota check and deduction, supports rate limit policies that are based on server level and port.

Quick Guide

Dependencies

polaris-go can be referenced by go mod, user can add dependency to go.mod file

github.com/polarismesh/polaris-go v1.0.0
Using API

API quick start guide,can reference:QuickStart

License

The polaris-go is licensed under the BSD 3-Clause License. Copyright and license information can be found in the file LICENSE

Directories

Path Synopsis
benchmark
benchmain command
benchsimple command
flags
Package flags provide convenience types and routines to accept specific types of flag values on the command line.
Package flags provide convenience types and routines to accept specific types of flag values on the command line.
stats
Package stats tracks the statistics associated with benchmark runs.
Package stats tracks the statistics associated with benchmark runs.
pkg
config
* * Tencent is pleased to support the open source community by making polaris-go available.
* * Tencent is pleased to support the open source community by making polaris-go available.
log
model/pb/metric
Package metric is a generated protocol buffer package.
Package metric is a generated protocol buffer package.
model/pb/v1
Package v1 is a generated protocol buffer package.
Package v1 is a generated protocol buffer package.
plugin
serverconnector/sidecar/client
* * Tencent is pleased to support the open source community by making polaris-go available.
* * Tencent is pleased to support the open source community by making polaris-go available.
serverconnector/sidecar/dns
* * Tencent is pleased to support the open source community by making polaris-go available.
* * Tencent is pleased to support the open source community by making polaris-go available.
serverconnector/sidecar/model/pb
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.
sample
test
serviceroute
Package test mock test for set division * Tencent is pleased to support the open source community by making polaris-go available.
Package test mock test for set division * Tencent is pleased to support the open source community by making polaris-go available.
tools module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL