Versions in this module Expand all Collapse all v1 v1.0.0 Apr 29, 2026 Changes in this version + func LaunchAuth(fn GenerateAuthInfoFunc) tp.Plugin + func Proxy(fn func(*ProxyLabel) Caller) tp.Plugin + func ProxyPull(fn func(*ProxyLabel) PullCaller) tp.Plugin + func ProxyPush(fn func(*ProxyLabel) PushCaller) tp.Plugin + func VerifyAuth(fn VerifyAuthInfoFunc) tp.Plugin + type AuthSession interface + Peer func() tp.Peer + RemoteAddr func() net.Addr + SetId func(newId string) + Swap func() goutil.Map + type Caller interface + type GenerateAuthInfoFunc func() string + type ProxyLabel struct + RealIp string + SessionId string + Uri string + type PullCaller interface + Pull func(uri string, arg interface{}, result interface{}, ...) tp.PullCmd + type PushCaller interface + Push func(uri string, arg interface{}, setting ...socket.PacketSetting) *tp.Rerror + type VerifyAuthInfoFunc func(authInfo string, sess AuthSession) *tp.Rerror