Skip to content

yangzhongke/RuPeng.HystrixCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RuPeng.HystrixCore

Technology stack: C#, .Net Core, Polly

Description: It is a latency and fault tolerance library, with abilities of circuit breaker, fallback, and retry.

Example:

using AspectCore.DynamicProxy;
using System;
using System.Threading;

namespace HystrixCoreTests
{
    class Program
    {
        static void Main(string[] args)
        {
            ProxyGeneratorBuilder proxyGeneratorBuilder = new ProxyGeneratorBuilder();
            using (IProxyGenerator proxyGenerator = proxyGeneratorBuilder.Build())
            {
                Person p = proxyGenerator.CreateClassProxy<Person>();
                Console.WriteLine(p.HelloAsync("yzk").Result);
            }
            Console.ReadKey();
        }
    }
}

Check the project 'HystrixCoreTests' for the whole demo case.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages