sum7
/
yaja
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
yaja/model/buddy.go

18 lines
312 B
Go

package model
const (
SubscriptionNone = iota
SubscriptionTo
SubscriptionFrom
SubscriptionBoth
AskNone = iota
AskSubscribe
)
type Buddy struct {
Name string `json:"name"`
Groups []string `json:"groups"`
Subscription int `json:"subscription"`
Ask int `json:"ask"`
}