1
0
Fork 0
go-asink/api.go

25 lines
310 B
Go

/*
Copyright (C) 2013 Aaron Lindsay <aaron@aclindsay.com>
*/
package asink
const API_VERSION_STRING = "0.1"
type APIStatus uint32
const (
SUCCESS = 0 + iota
ERROR
)
type APIResponse struct {
Status APIStatus
Explanation string
Events []*Event
}
type EventList struct {
Events []*Event
}