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.
thrempp/component/threema/main.go

24 lines
405 B
Go

package threema
import (
"dev.sum7.eu/genofire/thrempp/component"
"gosrc.io/xmpp"
)
type Threema struct {
component.Component
}
func NewThreema(config map[string]interface{}) (component.Component, error) {
return &Threema{}, nil
}
func (t *Threema) Connect() (chan xmpp.Packet, error) {
c := make(chan xmpp.Packet)
return c, nil
}
func init() {
component.AddComponent("threema", NewThreema)
}