Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Servant ¶
type Servant interface { TarsInvoke(ctx context.Context, cType byte, sFuncName string, buf []byte, status map[string]string, context map[string]string, resp *requestf.ResponsePacket) error TarsSetTimeout(t int) TarsSetProtocol(Protocol) Name() string SetPushCallback(callback func([]byte)) }
Servant is interface for call the remote server.
Click to show internal directories.
Click to hide internal directories.