Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.6.3 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package canvas holds the Canvas API surface: bearer-token validation against the current-user endpoint, plus the course/assignment/file reads backing the vfs.
Package canvas holds the Canvas API surface: bearer-token validation against the current-user endpoint, plus the course/assignment/file reads backing the vfs.
Package cli wires the sjtu command tree.
Package cli wires the sjtu command tree.
Package config loads and saves the non-sensitive CLI configuration.
Package config loads and saves the non-sensitive CLI configuration.
Package cred stores and retrieves credentials (Canvas token, jAccount session cookie) through a single Store interface.
Package cred stores and retrieves credentials (Canvas token, jAccount session cookie) through a single Store interface.
Package daemon runs the sjtu daemon: a purely passive local service that executes the same command implementations as the CLI over HTTP on a unix socket, plus health probes and transition notifications.
Package daemon runs the sjtu daemon: a purely passive local service that executes the same command implementations as the CLI over HTTP on a unix socket, plus health probes and transition notifications.
Package jaccount implements QR-code login against SJTU's jAccount SSO and verification of the resulting session cookie.
Package jaccount implements QR-code login against SJTU's jAccount SSO and verification of the resulting session cookie.
Package logging installs the process-wide slog logger: text records appended to the state-directory log file with single-backup rotation, wrapped in credential redaction.
Package logging installs the process-wide slog logger: text records appended to the state-directory log file with single-backup rotation, wrapped in credential redaction.
Package mlearning implements the mlearning.sjtu.edu.cn attendance endpoints: the SSO chain that plants the domain's Access_Token cookie, the two read projections behind /courses/<id>/attendance, and the scan-submit write of `sjtu attendance submit`.
Package mlearning implements the mlearning.sjtu.edu.cn attendance endpoints: the SSO chain that plants the domain's Access_Token cookie, the two read projections behind /courses/<id>/attendance, and the scan-submit write of `sjtu attendance submit`.
Package session provides authenticated HTTP primitives shared by all SJTU services.
Package session provides authenticated HTTP primitives shared by all SJTU services.
Package vfs exposes Canvas course content as a read-only io/fs file system.
Package vfs exposes Canvas course content as a read-only io/fs file system.
Package video implements the v.sjtu.edu.cn course-video API: the LTI launch chain that yields a per-course jwt-token, the replay and live listings, and the ranged media download path.
Package video implements the v.sjtu.edu.cn course-video API: the LTI launch chain that yields a per-course jwt-token, the replay and live listings, and the ranged media download path.

Jump to

Keyboard shortcuts

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