internal/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: MIT

Directories

Path Synopsis
Package api is the escape hatch: calling a web service function directly.
Package api is the escape hatch: calling a web service function directly.
Package assignment covers reading assignments and handing work in.
Package assignment covers reading assignments and handing work in.
Package auth turns a configured account into a usable session.
Package auth turns a configured account into a usable session.
authmethod
browsersession
Package browsersession signs in with a session a browser already holds.
Package browsersession signs in with a session a browser already holds.
manual
Package manual signs in by having the user complete the browser login and paste the callback URL back.
Package manual signs in by having the user complete the browser login and paste the callback URL back.
mobilelaunch
Package mobilelaunch signs in through the browser the user already uses.
Package mobilelaunch signs in through the browser the user already uses.
password
Package password signs in with a Moodle username and password.
Package password signs in with a Moodle username and password.
qrlogin
Package qrlogin signs in with the QR code Moodle shows in a user's profile.
Package qrlogin signs in with the QR code Moodle shows in a user's profile.
token
Package token signs in with a web service token the user already holds.
Package token signs in with a web service token the user already holds.
Package bootstrap is the composition root: it builds every concrete dependency and wires them together.
Package bootstrap is the composition root: it builds every concrete dependency and wires them together.
Package browser reads a Moodle session out of a browser's own storage.
Package browser reads a Moodle session out of a browser's own storage.
Package calendar is the deadline and to-do use cases.
Package calendar is the deadline and to-do use cases.
Package callback holds the state of a browser login while it is happening.
Package callback holds the state of a browser login while it is happening.
Package cli is the Cobra presentation layer: it turns arguments into use case input, and use case results into output.
Package cli is the Cobra presentation layer: it turns arguments into use case input, and use case results into output.
Package config reads and writes the on-disk configuration.
Package config reads and writes the on-disk configuration.
contract
v1
Package v1 is the only public machine-readable representation of this tool.
Package v1 is the only public machine-readable representation of this tool.
Package course is the course use cases and their model.
Package course is the course use cases and their model.
Package doctor diagnoses a site and account.
Package doctor diagnoses a site and account.
Package errs holds the error vocabulary shared by every layer: the stable error Code, the open-ended Reason, and the execution Outcome.
Package errs holds the error vocabulary shared by every layer: the stable error Code, the open-ended Reason, and the execution Outcome.
Package file covers the files Moodle hands out and getting them onto disk.
Package file covers the files Moodle hands out and getting them onto disk.
Package forum reads course discussions.
Package forum reads course discussions.
Package grade is the grade use cases and their model.
Package grade is the grade use cases and their model.
Package mcp serves the use cases to an AI agent over the Model Context Protocol.
Package mcp serves the use cases to an AI agent over the Model Context Protocol.
Package mcphost lets a client that is not on this machine use the MCP server.
Package mcphost lets a client that is not on this machine use the MCP server.
Package moodle speaks Moodle's web service protocol.
Package moodle speaks Moodle's web service protocol.
Package quiz reads quizzes and the caller's attempts at them.
Package quiz reads quizzes and the caller's attempts at them.
Package safety decides what a call may do and whether it may be repeated.
Package safety decides what a call may do and whether it may be repeated.
Package secret stores credentials in the operating system's keychain.
Package secret stores credentials in the operating system's keychain.
Package site holds the core vocabulary: which Moodle we are talking to, as whom, and what that combination can actually do.
Package site holds the core vocabulary: which Moodle we are talking to, as whom, and what that combination can actually do.
Package tunnel gives a local address a public HTTPS one by running cloudflared's account-less quick tunnel.
Package tunnel gives a local address a public HTTPS one by running cloudflared's account-less quick tunnel.
Package update tells a person when a newer release exists.
Package update tells a person when a newer release exists.
Package webread reads Moodle's own pages.
Package webread reads Moodle's own pages.
Package workload calculates academic credits from institution-mapped Moodle course custom fields.
Package workload calculates academic credits from institution-mapped Moodle course custom fields.
Package wsregistry owns the typed contract for Moodle core external functions across the supported Moodle releases.
Package wsregistry owns the typed contract for Moodle core external functions across the supported Moodle releases.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL