Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // not logged in err ErrNotLoggedIn error = errors.New("please login first") // logged in err, y u try to log back in ErrLoggedIn error = errors.New("already logged in") // caused by siam UI changes/passed in the wrong page ErrNoElement error = errors.New("element not found") // login fail ErrLoginFail error = errors.New("login fail, wrong credentials?") )
Functions ¶
Types ¶
type AddCourse ¶ added in v0.3.0
type AddCourse struct { MasaKRS string Hari string // Nama hari Jam string // HH:MM - HH:MM Kelas string ProgramStudi string Kode string MataKuliah string TahunKurikulum string // YEAR Peminat int // [PEMINAT]/[kuota] Kuota int // [peminat]/[KUOTA] SKS int Ruang string Jenis string // Luring/Daring/Hybrid }
type Krs ¶ added in v0.3.0
type Krs struct { MasaKRS string MataKuliah []MataKuliahKrs }
type MataKuliahKrs ¶ added in v0.3.0
type User ¶
func (*User) GetDataAndLogout ¶ added in v0.2.0
no need to login first & defer logout.
if you just need to get the data and bounce, use this ;)
Click to show internal directories.
Click to hide internal directories.