go-asink/api.go

19 lines
213 B
Go
Raw Normal View History

package asink
2013-02-22 00:06:10 -05:00
type APIStatus uint32
const (
SUCCESS = 0 + iota
ERROR
)
type APIResponse struct {
2013-02-22 00:06:10 -05:00
Status APIStatus
Explanation string
2013-02-22 00:06:10 -05:00
Events []*Event
}
type EventList struct {
Events []*Event
}