refactor(gateway): 调整PROTOCOL_VERSION导入位置
将PROTOCOL_VERSION从protocol导入列表末尾移至开头,优化导入顺序
This commit is contained in:
parent
ede29b1809
commit
d14239d4b7
@ -1,4 +1,5 @@
|
|||||||
from yuxi.gateway.protocol import (
|
from yuxi.gateway.protocol import (
|
||||||
|
PROTOCOL_VERSION,
|
||||||
ChannelLogoutRequest,
|
ChannelLogoutRequest,
|
||||||
ChannelStartRequest,
|
ChannelStartRequest,
|
||||||
ChannelStatusRequest,
|
ChannelStatusRequest,
|
||||||
@ -11,7 +12,6 @@ from yuxi.gateway.protocol import (
|
|||||||
HelloOk,
|
HelloOk,
|
||||||
NonEmptyString,
|
NonEmptyString,
|
||||||
PositiveInt,
|
PositiveInt,
|
||||||
PROTOCOL_VERSION,
|
|
||||||
RequestFrame,
|
RequestFrame,
|
||||||
ResponseFrame,
|
ResponseFrame,
|
||||||
handle_handshake,
|
handle_handshake,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user