Documentation ¶
Index ¶
- func GetHashedPwd(login, pwd, address string) string
- func GetToken(login, hashedpwd string) string
- type Abs
- type Absence
- type AbsenceResult
- type HxResults
- type Interface
- type Interfaces
- type KomDelResults
- type Login
- type Params
- type Predmet
- type Predmety
- type PredmetyResults
- type PredvidacResults
- type SetOkResults
- type Seznam
- type Subject
- type Typ
- type Typypru
- type User
- type Zameskanost
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHashedPwd ¶
Types ¶
type Absence ¶
type Absence struct { XMLName xml.Name `xml:"absence"` Hranice string `xml:"hranice"` Seznam Seznam `xml:"seznam"` Zameskanost Zameskanost `xml:"zameskanost"` }
type AbsenceResult ¶
type AbsenceResult struct { XMLName xml.Name `xml:"results"` Absence Absence `xml:"absence"` Result int `xml:"result"` }
func GetAbsence ¶
func GetAbsence(user User) AbsenceResult
type Interfaces ¶
type Interfaces struct { XMLName xml.Name `xml:"interfaces"` Interface []Interface `xml:"interface"` Result int `xml:"result"` }
func GetInterfaces ¶
func GetInterfaces(user User) Interfaces
type KomDelResults ¶
type KomDelResults struct { XMLName xml.Name `xml:"results"` Code int `xml:"code"` Message string `xml:"message"` Result int `xml:"result"` }
func KomDel ¶
func KomDel(user User, id int) KomDelResults
type Login ¶
type Login struct { XMLName xml.Name `xml:"results"` Verze string `xml:"verze"` Jmeno string `xml:"jmeno"` Typ string `xml:"typ"` Strtyp string `xml:"strtyp"` Skola string `xml:"skola"` Trida string `xml:"trida"` Rocnik string `xml:"rocnik"` Moduly string `xml:"moduly"` Params Params `xml:"params"` Result int `xml:"result"` }
type PredmetyResults ¶
type PredmetyResults struct { XMLName xml.Name `xml:"results"` Predmety Predmety `xml:"predmety"` Result int `xml:"result"` }
func GetPredmety ¶
func GetPredmety(user User) PredmetyResults
type PredvidacResults ¶
type PredvidacResults struct { XMLName xml.Name `xml:"results"` Typypru Typypru `xml:"typypru"` Result int `xml:"result"` }
func GetPredvidac ¶
func GetPredvidac(user User) PredvidacResults
type SetOkResults ¶
func SetOk ¶
func SetOk(user User, id int) SetOkResults
type User ¶
func Authentificate ¶
Click to show internal directories.
Click to hide internal directories.