Skip to content

Commit

Permalink
Added '.' at the end of manager.go documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pradnic committed Apr 20, 2021
1 parent 62b519e commit c04cf0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/stats/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ package stats
import stats "github.com/lyft/gostats"
import gostats "github.com/lyft/gostats"

// Manager is the interface that wraps initialization of stat structures
// Manager is the interface that wraps initialization of stat structures.
type Manager interface {
// NewStats provides a RateLimitStats structure associated with a given descriptorKey.
// Multiple calls with the same descriptorKey argument are guaranteed to be equivalent.
NewStats(descriptorKey string) RateLimitStats
// Initializes a ShouldRateLimitStats structure.
// Multiple calls to this method are idempotent
// Multiple calls to this method are idempotent.
NewShouldRateLimitStats() ShouldRateLimitStats
// Initializes a ServiceStats structure.
// Multiple calls to this method are idempotent
// Multiple calls to this method are idempotent.
NewServiceStats() ServiceStats
// Initializes a ShouldRateLimitLegacyStats structure.
// Multiple calls to this method are idempotent
// Multiple calls to this method are idempotent.
NewShouldRateLimitLegacyStats() ShouldRateLimitLegacyStats
// Returns the stats.Store wrapped by the Manager
// Returns the stats.Store wrapped by the Manager.
GetStatsStore() stats.Store
}

Expand Down

0 comments on commit c04cf0c

Please sign in to comment.