Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is used for getting information about an event from a postgres database.
func (*Service) GetBasicEvents ¶
func (s *Service) GetBasicEvents() ([]event.BasicEvent, error)
GetBasicEvents returns basic event information fetched from the postgres database.
func (*Service) MassUpsert ¶
func (s *Service) MassUpsert(bEvents []event.BasicEvent) error
MassUpsert upserts multiple events in the postgres database.
Click to show internal directories.
Click to hide internal directories.