openiothub

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeP2PSessionAsClient

func MakeP2PSessionAsClient(stream net.Conn, TokenModel *models.TokenClaims) (*yamux.Session, error)

作为客户端主动去连接内网client的方式创建穿透连接

func MakeP2PSessionAsServer added in v0.0.10

func MakeP2PSessionAsServer(stream net.Conn, TokenModel *models.TokenClaims) (*yamux.Session, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL