cwtch/protocol/connections/enginehooks.go

11 lines
235 B
Go
Raw Normal View History

2023-04-20 20:36:43 +00:00
package connections
import "git.openprivacy.ca/cwtch.im/tapir"
type DefaultEngineHooks struct {
}
func (deh DefaultEngineHooks) SendPeerMessage(connection tapir.Connection, message []byte) error {
return connection.Send(message)
}