Documentation
¶
Index ¶
- type AccountStats
- type AdminHelper
- type EventsRepository
- func (r *EventsRepository) Close(ctx context.Context) error
- func (r *EventsRepository) CountByAccount(ctx context.Context) ([]AccountStats, error)
- func (r *EventsRepository) Delete(ctx context.Context, corrId int64, q models.DataQuery) (int64, error)
- func (r *EventsRepository) Exists(ctx context.Context, q models.DataQuery) (bool, error)
- func (r *EventsRepository) Get(ctx context.Context, c models.ClientId, u models.UserId, t models.EventTypeId, ...) ([]entities.Event, error)
- func (r *EventsRepository) InsertMany(ctx context.Context, ls []interface{}) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountStats ¶
type AdminHelper ¶
type AdminHelper struct {
// contains filtered or unexported fields
}
func CreateAdminHelper ¶
func CreateAdminHelper(ctx context.Context, uri string) (*AdminHelper, error)
func (AdminHelper) IsCommandRunning ¶
type EventsRepository ¶
type EventsRepository struct {
// contains filtered or unexported fields
}
func CreateEventsRepository ¶
func CreateEventsRepository(ctx context.Context, conn config.MongoConnection) (*EventsRepository, error)
func (*EventsRepository) CountByAccount ¶
func (r *EventsRepository) CountByAccount(ctx context.Context) ([]AccountStats, error)
func (*EventsRepository) InsertMany ¶
func (r *EventsRepository) InsertMany(ctx context.Context, ls []interface{}) (int, error)
Click to show internal directories.
Click to hide internal directories.