Versions in this module Expand all Collapse all v6 v6.2.5 Nov 13, 2019 Changes in this version + var MultiRecvErr = tp.NewStatus(tp.CodeInternalServerError, "auth-checker plugin usage is incorrect", ...) + var MultiSendErr = tp.NewStatus(tp.CodeWriteFailed, "auth-bearer plugin usage is incorrect", ...) + func NewBearerPlugin(fn Bearer, infoSetting ...tp.MessageSetting) tp.Plugin + func NewCheckerPlugin(fn Checker, retSetting ...tp.MessageSetting) tp.Plugin + type Bearer func(sess Session, fn SendOnce) *tp.Status + type Checker func(sess Session, fn RecvOnce) (ret interface{}, stat *tp.Status) + type RecvOnce func(infoRecv interface{}) *tp.Status + type SendOnce func(info, retRecv interface{}) *tp.Status + type Session interface + LocalAddr func() net.Addr + Peer func() tp.Peer + RemoteAddr func() net.Addr + SetID func(newID string) + Swap func() goutil.Map Other modules containing this package github.com/henrylee2cn/teleport