ricochet-go/core/contact.go

19 lines
238 B
Go
Raw Normal View History

2016-07-01 03:18:55 +00:00
package core
type ContactStatus int
const (
ContactOnline ContactStatus = iota
ContactOffline
ContactRequestPending
ContactRequestRejected
ContactOutdated
)
type Contact struct {
InternalId int
Name string
Address string
}