Documentation ¶
Index ¶
- func ReleaseMeetingModel()
- func ReleaseMeetingModelWithFile(f *os.File)
- func ReleaseStatusModel()
- func ReleaseUserModel()
- type Database
- type Manager
- type Meeting
- type MeetingDB
- func (m *MeetingDB) AddMeeting(title string, participators []string)
- func (m *MeetingDB) CreateMeeting(meeting Meeting)
- func (m *MeetingDB) DeleteMeetingByTitle(title string) bool
- func (m *MeetingDB) DeleteMeetingsByInitiator(name string) (count int)
- func (m *MeetingDB) GetMeetingByTitle(title string) Meeting
- func (m *MeetingDB) GetMeetingsByUser(user string) (res []Meeting)
- func (m *MeetingDB) GetOccupiedParticipators(title string, startTime, endTime time.Time) map[string]bool
- func (m *MeetingDB) QuitMeeting(title, user string) bool
- func (m *MeetingDB) RemoveParticipators(title string, participators []string) bool
- func (m *MeetingDB) SetMeeting(title string, startTime time.Time, setStart bool, endTime time.Time, ...)
- type MeetingModel
- type Status
- type StatusDB
- type StatusModel
- type User
- type UserDB
- type UserModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseMeetingModel ¶
func ReleaseMeetingModel()
func ReleaseStatusModel ¶
func ReleaseStatusModel()
func ReleaseUserModel ¶
func ReleaseUserModel()
Types ¶
type Manager ¶
func (*Manager) Meeting ¶
func (m *Manager) Meeting() MeetingModel
func (*Manager) Status ¶
func (m *Manager) Status() StatusModel
type MeetingDB ¶
func (*MeetingDB) AddMeeting ¶
func (*MeetingDB) CreateMeeting ¶
func (*MeetingDB) DeleteMeetingByTitle ¶
func (*MeetingDB) DeleteMeetingsByInitiator ¶
func (*MeetingDB) GetMeetingByTitle ¶
func (*MeetingDB) GetMeetingsByUser ¶
func (*MeetingDB) GetOccupiedParticipators ¶
func (*MeetingDB) QuitMeeting ¶
func (*MeetingDB) RemoveParticipators ¶
type MeetingModel ¶
type MeetingModel interface { GetMeetingByTitle(title string) Meeting GetMeetingsByUser(user string) []Meeting GetOccupiedParticipators(title string, startTime, endTime time.Time) map[string]bool CreateMeeting(meeting Meeting) AddMeeting(title string, participators []string) SetMeeting(title string, startTime time.Time, setStart bool, endTime time.Time, setEnd bool, participators []string, setPars bool) DeleteMeetingByTitle(title string) bool DeleteMeetingsByInitiator(name string) int QuitMeeting(title, user string) bool RemoveParticipators(title string, participators []string) bool }
type StatusModel ¶
type UserDB ¶
func (*UserDB) DeleteUser ¶
func (*UserDB) GetAllUser ¶
func (*UserDB) GetUserByName ¶
Click to show internal directories.
Click to hide internal directories.