go-asink/api.go

19 lines
213 B
Go

package asink
type APIStatus uint32
const (
SUCCESS = 0 + iota
ERROR
)
type APIResponse struct {
Status APIStatus
Explanation string
Events []*Event
}
type EventList struct {
Events []*Event
}