giredore/internal/structs/reply.go
Stanislav N. aka pztrn 6ce7747dd5
Working with packages and allowed IPs.
giredorectl now able to interact with giredored about:

* Setting package data. There is no such thing as "create" or "update",
just set.

* Deleting package data.

* Setting allowed IP addresses. This is the only authorization method
ATM, more may come in future.
2019-10-07 18:21:26 +05:00

10 lines
172 B
Go

package structs
// Reply defined reply data structure that giredored and giredorectl
// will use.
type Reply struct {
Status Status
Errors []Error
Data interface{}
}