mirror of
https://github.com/neilalexander/yggmail.git
synced 2026-05-02 18:16:28 +03:00
19 lines
383 B
Go
19 lines
383 B
Go
/*
|
|
* Copyright (c) 2021 Neil Alexander
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
package transport
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
type Transport interface {
|
|
Dial(host string) (net.Conn, error)
|
|
Listener() net.Listener
|
|
}
|