Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registration ¶
type Registration struct { ChannelId string Timezone *time.Location OwnerId string TalksToShowOnVoting int ScheduleDow int8 ScheduleTimeInMinutes int16 MinimalPeopleRequired int FirstReminderHours int8 SecondReminderMinutes int8 AddRandomTalkOnSecondReminder bool FinalCallMinutes int8 ShowVoteResult bool CreatedAt time.Time UpdatedAt time.Time Active bool }
func LoadRegistrationFromMap ¶
func LoadRegistrationFromMap(data map[string]interface{}) (*Registration, map[string]error)
func (*Registration) GetDialogElements ¶
func (r *Registration) GetDialogElements() []model.DialogElement
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) GetRegistration ¶
func (s *Storage) GetRegistration(channelId string) *Registration
func (*Storage) IsRegistered ¶
func (*Storage) SaveRegistration ¶
func (s *Storage) SaveRegistration(r *Registration) error
Click to show internal directories.
Click to hide internal directories.