Documentation ¶
Index ¶
- func GetEventListFailErrMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func GetEventListFailJSONMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func GetEventListFailStatusMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func GetEventListMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func GetSysEventListFailErrMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func GetSysEventListFailJSONMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func GetSysEventListFailStatusMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func GetSysEventListMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- type EventService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEventListFailErrMocked ¶
GetEventListFailErrMocked test mocked function
func GetEventListFailJSONMocked ¶
GetEventListFailJSONMocked test mocked function
func GetEventListFailStatusMocked ¶
GetEventListFailStatusMocked test mocked function
func GetEventListMocked ¶
GetEventListMocked test mocked function
func GetSysEventListFailErrMocked ¶
GetSysEventListFailErrMocked test mocked function
func GetSysEventListFailJSONMocked ¶
GetSysEventListFailJSONMocked test mocked function
func GetSysEventListFailStatusMocked ¶
GetSysEventListFailStatusMocked test mocked function
Types ¶
type EventService ¶
type EventService struct {
// contains filtered or unexported fields
}
EventService manages event operations
func NewEventService ¶
func NewEventService(concertoService utils.ConcertoService) (*EventService, error)
NewEventService returns a Concerto event service
func (*EventService) GetEventList ¶
func (cl *EventService) GetEventList() (events []*types.Event, err error)
GetEventList returns the list of events as an array of Event
func (*EventService) GetSysEventList ¶
func (cl *EventService) GetSysEventList() (events []*types.Event, err error)
GetSysEventList returns the list of events as an array of Event
Click to show internal directories.
Click to hide internal directories.