Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Moodle ¶
type Moodle struct {
// contains filtered or unexported fields
}
Moodle struct represents single moodle instance
func (*Moodle) GetStorageStats ¶
func (m *Moodle) GetStorageStats() (stats *StorageStats, err error)
Single Moodle Funcs
func (*Moodle) GetUserStats ¶
Single Moodle Funcs
type MoodleList ¶
type MoodleList struct {
// contains filtered or unexported fields
}
List of Moodle instances
func NewMoodleList ¶
func NewMoodleList(hostname string, username string, password string) (list MoodleList, err error)
func (*MoodleList) GetStorageStats ¶
func (list *MoodleList) GetStorageStats() (statsList []*StorageStats, err error)
Moodle List Funcs
func (*MoodleList) GetUserStats ¶
func (list *MoodleList) GetUserStats() (statsList []*UserStats, err error)
Moodle List Funcs
func (MoodleList) String ¶
func (list MoodleList) String() (str string)
type StorageStats ¶
type StorageStats struct {
BytesAssignSubmission map[int]int
BytesBackup map[int]int
BytesBackupAuto map[int]int
BytesAll int64
// contains filtered or unexported fields
}
func (StorageStats) MoodleShortName ¶
func (stats StorageStats) MoodleShortName() string
Click to show internal directories.
Click to hide internal directories.