Documentation
¶
Overview ¶
Package edu provides interactive protocol education platform.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Badge ¶
type Badge struct {
Name string `json:"name"`
Description string `json:"description"`
Criteria string `json:"criteria"`
}
Badge represents an achievement badge.
type LearningPath ¶
LearningPath represents a recommended learning path.
type Lesson ¶
type Lesson struct {
ID string `json:"id"`
Title string `json:"title"`
Protocol string `json:"protocol"`
Level string `json:"level"` // beginner, intermediate, advanced
Content string `json:"content"`
}
Lesson represents a protocol tutorial lesson.
type Platform ¶
type Platform struct {
Lessons []Lesson
Quizzes []Quiz
Paths []LearningPath
Badges []Badge
}
Platform holds the education platform data.
func NewPlatform ¶
func NewPlatform() *Platform
NewPlatform creates a new education platform with default content.
func (*Platform) ListBadges ¶
ListBadges returns available badges.
func (*Platform) ListLessons ¶
ListLessons returns available lessons.
Click to show internal directories.
Click to hide internal directories.