Documentation ¶
Index ¶
Constants ¶
View Source
const ( TCPEntryPoint = "tcp" UDPEntryPoint = "udp" )
Variables ¶
View Source
var (
ErrEntryPointClosed = errors.New("entrypoint closed")
)
Functions ¶
func Add ¶
func Add(s EntryPoint)
func LoadConfig ¶
func LoadConfig()
func SaveConfig ¶
func SaveConfig() error
func Set ¶
func Set(s EntryPoint)
Types ¶
type EntryPoint ¶
func Get ¶
func Get(id string) EntryPoint
func GetIndex ¶
func GetIndex(index int) EntryPoint
func NewTCPEntryPoint ¶
func NewTCPEntryPoint(opts ...tunnel.Option) EntryPoint
func NewUDPEntryPoint ¶
func NewUDPEntryPoint(opts ...tunnel.Option) EntryPoint
Click to show internal directories.
Click to hide internal directories.