wshandler도 session.Consumer로 교체
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user