Versions in this module Expand all Collapse all v1 v1.8.8 May 11, 2023 Changes in this version + const AuthKey + const ContextTagsLock + const DefaultRPCPath + const SendFileServiceName + const ServerAddress + const ServerTimeout + const StreamServiceName + var Codecs = map[protocol.SerializeType]codec.Codec + var ReqMetaDataKey = ContextKey("__req_metadata") + var ResMetaDataKey = ContextKey("__res_metadata") + var Trace bool + func IsShareContext(ctx context.Context) bool + func RegisterCodec(t protocol.SerializeType, c codec.Codec) + type Context struct + func NewContext(ctx context.Context) *Context + func WithLocalValue(ctx *Context, key, val interface{}) *Context + func WithValue(parent context.Context, key, val interface{}) *Context + func (c *Context) DeleteKey(key interface{}) + func (c *Context) Lock() + func (c *Context) SetValue(key, val interface{}) + func (c *Context) String() string + func (c *Context) Unlock() + func (c *Context) Value(key interface{}) interface{} + type ContextKey string + type DownloadFileArgs struct + FileName string + Meta map[string]string + func (args DownloadFileArgs) Clone() *DownloadFileArgs + type FileTransferArgs struct + FileName string + FileSize int64 + Meta map[string]string + func (args FileTransferArgs) Clone() *FileTransferArgs + type FileTransferReply struct + Addr string + Token []byte + type StreamServiceArgs struct + Meta map[string]string + type StreamServiceReply struct + Addr string + Token []byte