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.
2017-12-16 23:20:46 +01:00
|
|
|
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"`
|
|
|
|
}
|
2017-12-17 13:31:02 +01:00
|
|
|
|
|
|
|
type Bookmark struct {
|
|
|
|
}
|