MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / Limit

Method Limit

pkg/limiterp/limit.go:16–16  ·  view source on GitHub ↗

Limit true为触发,false为不触发

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

14type Limiter interface {
15 // Limit true为触发,false为不触发
16 Limit(ctx context.Context, key string) (bool, error)
17}
18
19type limiter struct {

Callers 15

ListMenusMethod · 0.65
ListApisMethod · 0.65
GetMoreCommentsReplyMethod · 0.65
FindCommentsByPostIdMethod · 0.65
FindRepliesByRidMethod · 0.65
ListLotteryDrawsMethod · 0.65
ListSecondKillEventsMethod · 0.65
ListRolesMethod · 0.65
ListMethod · 0.65
ListPubMethod · 0.65
ListAllMethod · 0.65

Implementers 1

limiterpkg/limiterp/limit.go

Calls

no outgoing calls

Tested by

no test coverage detected