Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkEntity ¶
type NetworkEntity interface { Push(route string, v interface{}) error ResponseMID(ctx context.Context, mid uint, v interface{}, isError ...bool) error Close() error Kick(ctx context.Context) error RemoteAddr() net.Addr SendRequest(ctx context.Context, serverID, route string, v interface{}) (*protos.Response, error) }
NetworkEntity represent low-level network instance
Click to show internal directories.
Click to hide internal directories.