Documentation
¶
Index ¶
- func GetSession(ctx context.Context, nodeId string) (*smux.Session, error)
- func GetSessionNodeList(ctx context.Context) ([]string, error)
- func NewSessionByClient(conn net.Conn) (*smux.Session, error)
- func NewSessoinByServer(conn net.Conn) (*smux.Session, error)
- func SaveSession(ctx context.Context, nodeId string, sess *smux.Session) error
- type SessionMgr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SessionMgr ¶
type SessionMgr struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.