Handlers, DB, Cache
This commit is contained in:
16
internal/api/user/module.go
Normal file
16
internal/api/user/module.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package user
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"go.uber.org/fx"
|
||||
)
|
||||
|
||||
type Handler interface {
|
||||
UserRegister(http.ResponseWriter, *http.Request)
|
||||
UserLogin(http.ResponseWriter, *http.Request)
|
||||
}
|
||||
|
||||
var Module = fx.Options(
|
||||
fx.Provide(NewUserHandler),
|
||||
)
|
||||
Reference in New Issue
Block a user