1
0
Fork 0
go-asink/api.go

25 lines
310 B
Go
Raw Normal View History

2013-09-04 22:02:17 -04:00
/*
Copyright (C) 2013 Aaron Lindsay <aaron@aclindsay.com>
*/
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
}