Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory describe factory for handlers
func (*Factory) WorkPlaceHandler ¶
func (f *Factory) WorkPlaceHandler() *WorkplaceHandler
WorkPlaceHandler getting workplace handler
type WorkplaceHandler ¶
type WorkplaceHandler struct {
// contains filtered or unexported fields
}
WorkplaceHandler describe workplace handler
func NewWorkplaceHandler ¶
func NewWorkplaceHandler(s WorkplaceService) *WorkplaceHandler
NewWorkplaceHandler create a new workplace handler
func (*WorkplaceHandler) Add ¶
func (h *WorkplaceHandler) Add(w http.ResponseWriter, r *http.Request)
Add handle of adding new workplace
func (*WorkplaceHandler) Delete ¶
func (h *WorkplaceHandler) Delete(w http.ResponseWriter, r *http.Request)
Delete handle of deleting the workplace
Click to show internal directories.
Click to hide internal directories.