ricochet-go/core/inboundcontactrequest.go

21 lines
359 B
Go
Raw Normal View History

2016-07-01 03:18:55 +00:00
package core
import (
"errors"
"time"
)
type InboundContactRequest struct {
Name string
Address string
Received time.Time
}
func (request *InboundContactRequest) Accept() (*Contact, error) {
return nil, errors.New("Not implemented")
}
func (request *InboundContactRequest) Reject(message string) error {
return errors.New("Not implemented")
}