mirror of
https://github.com/weloe/token-go.git
synced 2025-10-13 19:24:16 +08:00
10 lines
270 B
Go
10 lines
270 B
Go
package persist
|
|
|
|
type BatchAdapter interface {
|
|
Adapter
|
|
// DeleteBatchFilteredKey delete data by keyPrefix
|
|
DeleteBatchFilteredKey(filterKeyPrefix string) error
|
|
// GetCountsFilteredKey get data by keyPrefix
|
|
GetCountsFilteredKey(filterKeyPrefix string) (int, error)
|
|
}
|