| @@ -1,6 +1,11 @@ | |||||
| import asyncio | import asyncio | ||||
| from .errors import * # noqa | |||||
| from .helpers import * # noqa | |||||
| from .errors import ( | |||||
| SocksError, NoAcceptableAuthMethods, LoginAuthenticationFailed, | |||||
| SocksConnectionError, InvalidServerReply, InvalidServerVersion | |||||
| ) | |||||
| from .helpers import ( | |||||
| SocksAddr, Socks4Addr, Socks5Addr, Socks4Auth, Socks5Auth | |||||
| ) | |||||
| from .protocols import Socks4Protocol, Socks5Protocol | from .protocols import Socks4Protocol, Socks5Protocol | ||||
| __version__ = '0.1.2' | __version__ = '0.1.2' | ||||
| @@ -5,7 +5,10 @@ from . import constants as c | |||||
| from .helpers import ( | from .helpers import ( | ||||
| Socks4Addr, Socks5Addr, Socks5Auth, Socks4Auth | Socks4Addr, Socks5Addr, Socks5Auth, Socks4Auth | ||||
| ) | ) | ||||
| from .errors import * # noqa | |||||
| from .errors import ( | |||||
| SocksError, NoAcceptableAuthMethods, LoginAuthenticationFailed, | |||||
| InvalidServerReply, InvalidServerVersion | |||||
| ) | |||||
| class BaseSocksProtocol(asyncio.StreamReaderProtocol): | class BaseSocksProtocol(asyncio.StreamReaderProtocol): | ||||