provider에도 Query func 추가

This commit is contained in:
2023-08-30 16:35:22 +09:00
parent 66a191f494
commit 021f183157
2 changed files with 30 additions and 4 deletions

View File

@ -21,8 +21,8 @@ func make_cache_stage[T any]() *cache_stage[T] {
}
type Consumer interface {
Query(key string) *Authorization
Touch(key string) bool
Query(string) *Authorization
Touch(string) bool
}
type consumer_common[T any] struct {