🔷 (File Transferring Utility) Transfer files through the Net 🔷
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
331 B

package node
import "github.com/Unbewohnte/ftu/protocol"
// Implementation for sender and receiver nodes. [I`ll Probably remove it later. I don`t see the use-cases rn]
type Noder interface {
Connect(addr string, port uint) error
Disconnect() error
Listen(packetPipe chan protocol.Packet)
Send(packet protocol.Packet) error
}