go-asink/api.go

21 lines
247 B
Go
Raw Normal View History

package asink
2013-09-04 21:29:53 -04:00
const API_VERSION_STRING = "0.1"
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
}