v1
This commit is contained in:
11
internal/pkg/mid/session.go
Normal file
11
internal/pkg/mid/session.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package mid
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"management/internal/pkg/session"
|
||||
)
|
||||
|
||||
func LoadSession(sm session.Manager) func(http.Handler) http.Handler {
|
||||
return sm.Load
|
||||
}
|
||||
Reference in New Issue
Block a user