server added
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package iotype
|
||||
|
||||
type GetHealthRequest struct{}
|
||||
type GetHealthResult struct{}
|
||||
|
||||
type CreateSessionRequest struct{
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
type CreateSessionResult struct{
|
||||
Token string `json:"token"`
|
||||
Expire int64 `json:"expire"`
|
||||
}
|
||||
Reference in New Issue
Block a user