session 인터페이스 수정
This commit is contained in:
@ -30,13 +30,13 @@ type Authorization struct {
|
||||
type Provider interface {
|
||||
New(*Authorization) (string, error)
|
||||
Delete(primitive.ObjectID) error
|
||||
Query(string) (*Authorization, error)
|
||||
Query(string) (Authorization, error)
|
||||
Touch(string) (bool, error)
|
||||
}
|
||||
|
||||
type Consumer interface {
|
||||
Query(string) (*Authorization, error)
|
||||
Touch(string) (*Authorization, error)
|
||||
Query(string) (Authorization, error)
|
||||
Touch(string) (Authorization, error)
|
||||
}
|
||||
|
||||
type storagekey string
|
||||
|
||||
Reference in New Issue
Block a user