package
1.0.7
Repository: https://github.com/jslyzt/tarsgo.git
Documentation: pkg.go.dev

# Functions

ContextWithClientCurrent set ClientCurrent to the context.
ContextWithTarsCurrent set TarsCurrent.
GetClientHash returns the client hash info.
GetClientIPFromContext gets the client ip from the context.
GetClientPortFromContext gets the client ip from the context.
GetClientTimeout returns the timeout sets for the client side.
GetDyeingKey gets dyeing key from the context.
GetDyeingUser gets dyeing user from the context.
GetPacketTypeFromContext gets the PacketType from the context.
GetRecvTsFromContext gets the recvTs from the context.
GetReqStatusValue get req status from current in context.
GetRequestContext get request context set by user.
GetRequestStatus get request status set by user.
GetResponseContext get response context set by user.
GetResponseStatus get response status set by user.
GetServerIPFromContext gets the server ip from the context.
GetServerPortFromContext gets the server ip from the context.
SetClientHash sets the client hash code and hash type.
SetClientIPWithContext set Client IP to the tars current.
SetClientPortWithContext set client port to the tars current.
SetClientTimeout sets the client timeout.
SetDyeingKey set dyeing key to the tars current.
SetDyeingUser set dyeing user to the tars current.
SetPacketTypeFromContext set PacketType to the tars current.
SetRecvTsFromContext set recv Ts to the tars current.
SetReqStatusValue set req status of current of context.
SetRequestContext set the request package' context .
SetRequestStatus set the request package' status .
SetResponseContext set the response package' context .
SetResponseStatus set the response package' status .
SetServerIPWithContext set Server IP to the tars current.
SetServerPortWithContext set server port to the tars current.

# Constants

No description provided by the author

# Structs

ClientCurrent for passing client side info for tars framework.
Current contains message for the specify request.