Showing 62 of 62 total issues
exported type CircuitState should have comment or be unexported Open
Open
CircuitState int
- Exclude checks
exported method Collector.Start should have comment or be unexported Open
Open
func (c *Collector) Start() {
- Exclude checks
exported type FrozenBreakerStats should have comment or be unexported Open
Open
FrozenBreakerStats struct {
- Exclude checks
exported function NewRegistry should have comment or be unexported Open
Open
func NewRegistry() Registry {
- Exclude checks
exported function WithFailureInterpreter should have comment or be unexported Open
Open
func WithFailureInterpreter(failureInterpreter FailureInterpreter) BreakerConfigFunc {
- Exclude checks
exported function NewBreakerStats should have comment or be unexported Open
Open
func NewBreakerStats(config overcurrent.BreakerConfig) *BreakerStats {
- Exclude checks
exported method NoopBreaker.Call should have comment or be unexported Open
Open
func (b *NoopBreaker) Call(f BreakerFunc) error { return f(context.Background()) }
- Exclude checks
exported method NoopBreaker.CallAsync should have comment or be unexported Open
Open
func (b *NoopBreaker) CallAsync(f BreakerFunc) <-chan error { return nil }
- Exclude checks
exported function WithMaxConcurrencyTimeout should have comment or be unexported Open
Open
func WithMaxConcurrencyTimeout(timeout time.Duration) BreakerConfigFunc {
- Exclude checks
exported function WithCollector should have comment or be unexported Open
Open
func WithCollector(collector MetricCollector) BreakerConfigFunc {
- Exclude checks
exported method MultiCollector.ReportCount should have comment or be unexported Open
Open
func (c *MultiCollector) ReportCount(eventType EventType) {
- Exclude checks
exported method WindowFailureTripCondition.Success should have comment or be unexported Open
Open
func (tc *WindowFailureTripCondition) Success() {
- Exclude checks
exported method PercentageFailureTripCondition.Success should have comment or be unexported Open
Open
func (tc *PercentageFailureTripCondition) Success() {
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
package hystrix
- Exclude checks
exported method WindowFailureTripCondition.Failure should have comment or be unexported Open
Open
func (tc *WindowFailureTripCondition) Failure() {
- Exclude checks
exported function WithInvocationTimeout should have comment or be unexported Open
Open
func WithInvocationTimeout(timeout time.Duration) BreakerConfigFunc {
- Exclude checks
exported type Collector should have comment or be unexported Open
Open
type Collector struct {
- Exclude checks
exported method MultiCollector.ReportState should have comment or be unexported Open
Open
func (c *MultiCollector) ReportState(state CircuitState) {
- Exclude checks
exported type NamedMetricCollector should have comment or be unexported Open
Open
NamedMetricCollector interface {
- Exclude checks
exported method NoopBreaker.ShouldTry should have comment or be unexported Open
Open
func (b *NoopBreaker) ShouldTry() bool { return true }
- Exclude checks