Documentation
¶
Index ¶
- func Init()
- type Meeting
- type MeetingDB
- type Meetings
- func (allMeetings *Meetings) AddMeeting(meeting *Meeting)
- func (allMeetings *Meetings) AddParticipatorToMeeting(meeting *Meeting, participator string)
- func (allMeetings *Meetings) DeleteMeeting(meeting *Meeting)
- func (allMeetings *Meetings) DeleteParticipator(meeting *Meeting, participator string)
- func (allMeetings *Meetings) FindBy(cond func(*Meeting) bool) []Meeting
- func (allMeetings *Meetings) FindByTitle(title string) []Meeting
- func (allMeetings *Meetings) Init(path string)
- type Session
- type User
- type UserDB
- type Users
- func (allUsers *Users) AddUser(user *User)
- func (allUsers *Users) DeleteUser(user *User)
- func (allUsers *Users) FindBy(cond func(*User) bool) []User
- func (allUsers *Users) FindByName(username string) []User
- func (allusers *Users) Init(path string)
- func (allUsers *Users) IsMatchNamePass(username, password string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Meetings ¶
type Meetings struct {
// contains filtered or unexported fields
}
var AllMeetings Meetings
func (*Meetings) AddMeeting ¶
func (*Meetings) AddParticipatorToMeeting ¶
add a participator to a meeting
func (*Meetings) DeleteMeeting ¶
func (*Meetings) DeleteParticipator ¶
delete a participator
func (*Meetings) FindByTitle ¶
type Session ¶
type Session struct {
CurrUser *User
}
var CurrSession Session
func (*Session) GetCurUserName ¶
return the name of current user
func (*Session) HasLoggedIn ¶
return whether someone has been logged in or not
type Users ¶
type Users struct {
// contains filtered or unexported fields
}
var AllUsers Users
func (*Users) DeleteUser ¶
func (*Users) FindByName ¶
func (*Users) IsMatchNamePass ¶
Click to show internal directories.
Click to hide internal directories.