Documentation ¶
Index ¶
- func HandleGetInfo(w http.ResponseWriter, r *http.Request)
- func HandleGetRegistration(w http.ResponseWriter, r *http.Request)
- func HandleGetTMOSSys(w http.ResponseWriter, r *http.Request)
- func HandlePostRequest(w http.ResponseWriter, r *http.Request)
- func HandlePostRequestAuthToken(w http.ResponseWriter, r *http.Request)
- type AuthResponse
- type InfoResponse
- type Item
- type Reference
- type RegistrationInfo
- type SysCollectionState
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleGetInfo ¶
func HandleGetInfo(w http.ResponseWriter, r *http.Request)
func HandleGetRegistration ¶
func HandleGetRegistration(w http.ResponseWriter, r *http.Request)
func HandleGetTMOSSys ¶
func HandleGetTMOSSys(w http.ResponseWriter, r *http.Request)
func HandlePostRequest ¶
func HandlePostRequest(w http.ResponseWriter, r *http.Request)
func HandlePostRequestAuthToken ¶
func HandlePostRequestAuthToken(w http.ResponseWriter, r *http.Request)
Types ¶
type AuthResponse ¶
type AuthResponse struct { Username string `json:"username"` LoginReference struct { Link string `json:"link"` } `json:"loginReference"` LoginProviderName string `json:"loginProviderName"` Token Token `json:"token"` Generation int `json:"generation"` LastUpdateMicros int64 `json:"lastUpdateMicros"` }
type InfoResponse ¶
type RegistrationInfo ¶
type RegistrationInfo struct { Vendor string `json:"vendor"` LicensedDateTime string `json:"licensedDateTime"` LicensedVersion string `json:"licensedVersion"` LicenseEndDateTime string `json:"licenseEndDateTime"` LicenseStartDateTime string `json:"licenseStartDateTime"` RegistrationKey string `json:"registrationKey"` }
type SysCollectionState ¶
type Token ¶
type Token struct { Token string `json:"token"` Name string `json:"name"` UserName string `json:"userName"` AuthProviderName string `json:"authProviderName"` User struct { Link string `json:"link"` } `json:"user"` Timeout int `json:"timeout"` StartTime string `json:"startTime"` Address string `json:"address"` Partition string `json:"partition"` Generation int `json:"generation"` LastUpdateMicros int64 `json:"lastUpdateMicros"` ExpirationMicros int64 `json:"expirationMicros"` Kind string `json:"kind"` SelfLink string `json:"selfLink"` }
Click to show internal directories.
Click to hide internal directories.