Documentation ¶
Index ¶
- type EventController
- func (ec *EventController) AddEvent(w http.ResponseWriter, r *http.Request)
- func (ec *EventController) EventById(w http.ResponseWriter, r *http.Request)
- func (ec *EventController) EventCountByDevice(w http.ResponseWriter, r *http.Request)
- func (ec *EventController) EventTotalCount(w http.ResponseWriter, r *http.Request)
- func (ec *EventController) UpdateEventPushedById(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventController ¶
type EventController struct {
// contains filtered or unexported fields
}
func NewEventController ¶
func NewEventController(dic *di.Container) *EventController
NewEventController creates and initializes an EventController
func (*EventController) AddEvent ¶
func (ec *EventController) AddEvent(w http.ResponseWriter, r *http.Request)
func (*EventController) EventById ¶
func (ec *EventController) EventById(w http.ResponseWriter, r *http.Request)
func (*EventController) EventCountByDevice ¶
func (ec *EventController) EventCountByDevice(w http.ResponseWriter, r *http.Request)
func (*EventController) EventTotalCount ¶
func (ec *EventController) EventTotalCount(w http.ResponseWriter, r *http.Request)
func (*EventController) UpdateEventPushedById ¶
func (ec *EventController) UpdateEventPushedById(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.