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