Beispiel #1
0
func NewSender(conn net.Conn, encode god.Encode, compress god.Compress, encrypt god.Encrypt) god.Stopper {
	return &sender{Stopper: god.NewStopper()}
}
Beispiel #2
0
func NewReceiver(conn net.Conn, handlerID god.PID, decode god.Decode, decompress god.Decompress, decrypt god.Decrypt) god.Stopper {
	return &receiver{handlerID: handlerID, Stopper: god.NewStopper()}
}