wshandler도 session.Consumer로 교체

This commit is contained in:
2023-08-30 18:23:19 +09:00
parent 021f183157
commit e88df26ed7
5 changed files with 268 additions and 240 deletions

View File

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