package net.rzdata.common.ratelimiter.config;

import net.rzdata.common.ratelimiter.aspectj.RateLimiterAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author guangxin
 * @date 2023/1/18
 */
@Configuration
public class RateLimiterConfig {

    @Bean
    public RateLimiterAspect rateLimiterAspect() {
        return new RateLimiterAspect();
    }

}
