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