Documentation ¶
Index ¶
- type AccessResponse
- type AddEvent
- type CanvasItem
- type ChangeEvent
- type CollectionResponse
- type ErrorResponse
- type Like
- type Message
- type ModelResponse
- type News
- type QueryResponse
- type RemoveEvent
- type RequestAction
- type ResEvent
- type ResQueryEvent
- type ResQueryRequest
- type ResRequest
- type ResetEvent
- type Room
- type SetCanvasItem
- type SetMessage
- type SetNews
- type SetRoom
- type SuccessResponse
- type TokenEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessResponse ¶
type CanvasItem ¶
type ChangeEvent ¶
type ChangeEvent struct {
Values map[string]interface{} `json:"values"`
}
type CollectionResponse ¶
type CollectionResponse struct { Collection interface{} `json:"collection"` Query string `json:"query,omitempty"` }
type ErrorResponse ¶
type ErrorResponse struct {
Error *res.Error `json:"error"`
}
type Message ¶
type Message struct { Creator string `json:"creator"` Msg string `json:"msg"` Date int64 `json:"date"` }
Simple Message
type ModelResponse ¶
type ModelResponse struct { Model interface{} `json:"model"` Query string `json:"query,omitempty"` }
type QueryResponse ¶
type QueryResponse struct {
Events []ResEvent `json:"events"`
}
type RemoveEvent ¶
type RemoveEvent struct {
Idx int `json:"idx"`
}
type RequestAction ¶
type ResQueryEvent ¶
type ResQueryEvent struct {
Subject string `json:"subject"`
}
type ResQueryRequest ¶
type ResQueryRequest struct {
Query string `json:"query"`
}
type ResRequest ¶
type ResetEvent ¶
type SetCanvasItem ¶
type SetMessage ¶
type SuccessResponse ¶
type SuccessResponse struct {
Result interface{} `json:"result"`
}
type TokenEvent ¶
type TokenEvent struct {
Token interface{} `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.