Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type Entry struct {
- Title string `json:"title"`
- Description string `json:"desc"`
- URL string `json:"url"`
- Updated int64 `json:"updated"`
- }
- type RPCRequest struct {
- Parser string `json:"parser"`
- RequestType string `json:"parsertype"`
- Request string `json:"request"`
- LastDelta int `json:"lastdelta"`
- LastUpdate int64 `json:"lastupdate"`
- ReplyChannel chan RPCResponse
- }
- type RPCResponse struct {
- Success bool `json:"updated"`
- Message string `json:"message"`
- Entries []Entry `json:"entries"`
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement