This is an old revision of the document!
JSON Licenca
Objekat sadrži odgovor od Melany sistema registracije
Polja
JSON ključ | Vrednost | Opis |
---|---|---|
licence | tekst | Registraciona oznaka dobijena pri validaciji licence (ključno) |
owner | tekst | Naziv firme, nosioca licence |
status | ceo broj | Status licence: 10 - revoked, 20 - read only, 30 - granted warning, 40 - granted processing, 50 - granted |
next | datum i vreme | Datum i vreme sledećeg usaglašavanja |
expiry | datum i vreme | Datum i vreme isteka licence |
note | tekst | Komentar |
goLang implementacija
type Licenca struct { Licence string `json:"licence,omitempty"` Owner string `json:"owner,omitempty"` Status int `json:"status,omitempty"` Next string `json:"next,omitempty"` Expiry string `json:"expiry,omitempty"` Note string `json:"note,omitempty"` }