core/crm-core/internal/api/handlers/handlers.go
2025-12-27 14:32:00 -03:00

18 lines
389 B
Go

package handlers
import "net/http"
type HandlerSet struct {
Accounts *AccountsHandler
Contacts *ContactsHandler
Deals *DealsHandler
Stages *StagesHandler
Activities *ActivitiesHandler
Notes *NotesHandler
Tags *TagsHandler
}
func (h HandlerSet) Health(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
_, _ = w.Write([]byte("ok"))
}