Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserHttpHandler ¶
func NewUserHttpHandler( r *mux.Router, config *config.UserConfig, mongoFactory *factories.MongoFactory, grpcFactory *factories.GrpcClientFactory, )
Types ¶
type UserHttpHandler ¶
type UserHttpHandler struct { Cfg *config.UserConfig UserUsecase usecases.UserUsecase }
func (*UserHttpHandler) Create ¶
func (x *UserHttpHandler) Create(w http.ResponseWriter, r *http.Request)
func (*UserHttpHandler) GetAll ¶
func (x *UserHttpHandler) GetAll(w http.ResponseWriter, r *http.Request)
func (*UserHttpHandler) Update ¶
func (x *UserHttpHandler) Update(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.