teliogo

package
v0.0.0-...-157263e Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}

Functions

func DeleteTelio

func DeleteTelio(arg1 Telio)

func DeleteTelioEventCb

func DeleteTelioEventCb(arg1 TelioEventCb)

func DeleteTelioLoggerCb

func DeleteTelioLoggerCb(arg1 TelioLoggerCb)

func Swig_free

func Swig_free(arg1 uintptr)

func Swig_malloc

func Swig_malloc(arg1 int) (_swig_ret uintptr)

func TelioGetCommitSha

func TelioGetCommitSha() (_swig_ret string)

func TelioGetVersionTag

func TelioGetVersionTag() (_swig_ret string)

Types

type Enum_SS_telio_adapter_type

type Enum_SS_telio_adapter_type int
var TELIOADAPTERBORINGTUN Enum_SS_telio_adapter_type = _swig_getTELIOADAPTERBORINGTUN()
var TELIOADAPTERLINUXNATIVETUN Enum_SS_telio_adapter_type = _swig_getTELIOADAPTERLINUXNATIVETUN()
var TELIOADAPTERWINDOWSNATIVETUN Enum_SS_telio_adapter_type = _swig_getTELIOADAPTERWINDOWSNATIVETUN()
var TELIOADAPTERWIREGUARDGOTUN Enum_SS_telio_adapter_type = _swig_getTELIOADAPTERWIREGUARDGOTUN()

func TelioGetDefaultAdapter

func TelioGetDefaultAdapter() (_swig_ret Enum_SS_telio_adapter_type)

type Enum_SS_telio_log_level

type Enum_SS_telio_log_level int
var TELIOLOGCRITICAL Enum_SS_telio_log_level = _swig_getTELIOLOGCRITICAL()
var TELIOLOGDEBUG Enum_SS_telio_log_level = _swig_getTELIOLOGDEBUG()
var TELIOLOGERROR Enum_SS_telio_log_level = _swig_getTELIOLOGERROR()
var TELIOLOGINFO Enum_SS_telio_log_level = _swig_getTELIOLOGINFO()
var TELIOLOGTRACE Enum_SS_telio_log_level = _swig_getTELIOLOGTRACE()
var TELIOLOGWARNING Enum_SS_telio_log_level = _swig_getTELIOLOGWARNING()

type Enum_SS_telio_result

type Enum_SS_telio_result int
var TELIORESALREADYSTARTED Enum_SS_telio_result = _swig_getTELIORESALREADYSTARTED()
var TELIORESBADCONFIG Enum_SS_telio_result = _swig_getTELIORESBADCONFIG()
var TELIORESERROR Enum_SS_telio_result = _swig_getTELIORESERROR()
var TELIORESINVALIDKEY Enum_SS_telio_result = _swig_getTELIORESINVALIDKEY()
var TELIORESINVALIDSTRING Enum_SS_telio_result = _swig_getTELIORESINVALIDSTRING()
var TELIORESLOCKERROR Enum_SS_telio_result = _swig_getTELIORESLOCKERROR()
var TELIORESOK Enum_SS_telio_result = _swig_getTELIORESOK()

type SwigcptrTelio

type SwigcptrTelio uintptr

func (SwigcptrTelio) ConnectToExitNode

func (arg1 SwigcptrTelio) ConnectToExitNode(arg2 string, arg3 string, arg4 string) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) ConnectToExitNodePostquantum

func (arg1 SwigcptrTelio) ConnectToExitNodePostquantum(arg2 string, arg3 string, arg4 string, arg5 string) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) ConnectToExitNodeWithId

func (arg1 SwigcptrTelio) ConnectToExitNodeWithId(arg2 string, arg3 string, arg4 string, arg5 string) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) DisableMagicDns

func (arg1 SwigcptrTelio) DisableMagicDns() (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) DisconnectFromExitNode

func (arg1 SwigcptrTelio) DisconnectFromExitNode(arg2 string) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) DisconnectFromExitNodes

func (arg1 SwigcptrTelio) DisconnectFromExitNodes() (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) EnableMagicDns

func (arg1 SwigcptrTelio) EnableMagicDns(arg2 string) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) GeneratePublicKey

func (arg1 SwigcptrTelio) GeneratePublicKey(arg2 string) (_swig_ret string)

func (SwigcptrTelio) GenerateSecretKey

func (arg1 SwigcptrTelio) GenerateSecretKey() (_swig_ret string)

func (SwigcptrTelio) GenerateStackPanic

func (arg1 SwigcptrTelio) GenerateStackPanic() (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) GetAdapterLuid

func (arg1 SwigcptrTelio) GetAdapterLuid() (_swig_ret uint64)

func (SwigcptrTelio) GetLastError

func (arg1 SwigcptrTelio) GetLastError() (_swig_ret string)

func (SwigcptrTelio) GetPrivateKey

func (arg1 SwigcptrTelio) GetPrivateKey() (_swig_ret string)

func (SwigcptrTelio) GetStatusMap

func (arg1 SwigcptrTelio) GetStatusMap() (_swig_ret string)

func (SwigcptrTelio) NotifyNetworkChange

func (arg1 SwigcptrTelio) NotifyNetworkChange(arg2 string) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) SetFwmark

func (arg1 SwigcptrTelio) SetFwmark(arg2 uint) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) SetMeshnet

func (arg1 SwigcptrTelio) SetMeshnet(arg2 string) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) SetMeshnetOff

func (arg1 SwigcptrTelio) SetMeshnetOff() (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) SetPrivateKey

func (arg1 SwigcptrTelio) SetPrivateKey(arg2 string) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) Start

func (arg1 SwigcptrTelio) Start(arg2 string, arg3 Enum_SS_telio_adapter_type) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) StartNamed

func (arg1 SwigcptrTelio) StartNamed(arg2 string, arg3 Enum_SS_telio_adapter_type, arg4 string) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) StartWithTun

func (arg1 SwigcptrTelio) StartWithTun(arg2 string, arg3 Enum_SS_telio_adapter_type, arg4 int) (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) Stop

func (arg1 SwigcptrTelio) Stop() (_swig_ret Enum_SS_telio_result)

func (SwigcptrTelio) SwigIsTelio

func (p SwigcptrTelio) SwigIsTelio()

func (SwigcptrTelio) Swigcptr

func (p SwigcptrTelio) Swigcptr() uintptr

type SwigcptrTelioEventCb

type SwigcptrTelioEventCb uintptr

func (SwigcptrTelioEventCb) GetCb

func (arg1 SwigcptrTelioEventCb) GetCb() (_swig_ret _swig_fnptr)

func (SwigcptrTelioEventCb) GetCtx

func (arg1 SwigcptrTelioEventCb) GetCtx() (_swig_ret uintptr)

func (SwigcptrTelioEventCb) SetCb

func (arg1 SwigcptrTelioEventCb) SetCb(arg2 _swig_fnptr)

func (SwigcptrTelioEventCb) SetCtx

func (arg1 SwigcptrTelioEventCb) SetCtx(arg2 uintptr)

func (SwigcptrTelioEventCb) SwigIsTelioEventCb

func (p SwigcptrTelioEventCb) SwigIsTelioEventCb()

func (SwigcptrTelioEventCb) Swigcptr

func (p SwigcptrTelioEventCb) Swigcptr() uintptr

type SwigcptrTelioLoggerCb

type SwigcptrTelioLoggerCb uintptr

func (SwigcptrTelioLoggerCb) GetCb

func (arg1 SwigcptrTelioLoggerCb) GetCb() (_swig_ret _swig_fnptr)

func (SwigcptrTelioLoggerCb) GetCtx

func (arg1 SwigcptrTelioLoggerCb) GetCtx() (_swig_ret uintptr)

func (SwigcptrTelioLoggerCb) SetCb

func (arg1 SwigcptrTelioLoggerCb) SetCb(arg2 _swig_fnptr)

func (SwigcptrTelioLoggerCb) SetCtx

func (arg1 SwigcptrTelioLoggerCb) SetCtx(arg2 uintptr)

func (SwigcptrTelioLoggerCb) SwigIsTelioLoggerCb

func (p SwigcptrTelioLoggerCb) SwigIsTelioLoggerCb()

func (SwigcptrTelioLoggerCb) Swigcptr

func (p SwigcptrTelioLoggerCb) Swigcptr() uintptr

type Telio

type Telio interface {
	Swigcptr() uintptr
	SwigIsTelio()
	Start(arg2 string, arg3 Enum_SS_telio_adapter_type) (_swig_ret Enum_SS_telio_result)
	StartNamed(arg2 string, arg3 Enum_SS_telio_adapter_type, arg4 string) (_swig_ret Enum_SS_telio_result)
	StartWithTun(arg2 string, arg3 Enum_SS_telio_adapter_type, arg4 int) (_swig_ret Enum_SS_telio_result)
	EnableMagicDns(arg2 string) (_swig_ret Enum_SS_telio_result)
	DisableMagicDns() (_swig_ret Enum_SS_telio_result)
	Stop() (_swig_ret Enum_SS_telio_result)
	GetAdapterLuid() (_swig_ret uint64)
	SetPrivateKey(arg2 string) (_swig_ret Enum_SS_telio_result)
	GetPrivateKey() (_swig_ret string)
	SetFwmark(arg2 uint) (_swig_ret Enum_SS_telio_result)
	NotifyNetworkChange(arg2 string) (_swig_ret Enum_SS_telio_result)
	ConnectToExitNode(arg2 string, arg3 string, arg4 string) (_swig_ret Enum_SS_telio_result)
	ConnectToExitNodeWithId(arg2 string, arg3 string, arg4 string, arg5 string) (_swig_ret Enum_SS_telio_result)
	ConnectToExitNodePostquantum(arg2 string, arg3 string, arg4 string, arg5 string) (_swig_ret Enum_SS_telio_result)
	DisconnectFromExitNode(arg2 string) (_swig_ret Enum_SS_telio_result)
	DisconnectFromExitNodes() (_swig_ret Enum_SS_telio_result)
	SetMeshnet(arg2 string) (_swig_ret Enum_SS_telio_result)
	SetMeshnetOff() (_swig_ret Enum_SS_telio_result)
	GenerateStackPanic() (_swig_ret Enum_SS_telio_result)
	GenerateSecretKey() (_swig_ret string)
	GeneratePublicKey(arg2 string) (_swig_ret string)
	GetStatusMap() (_swig_ret string)
	GetLastError() (_swig_ret string)
}

func NewTelio

func NewTelio(arg1 string, arg2 func(string), arg3 Enum_SS_telio_log_level, arg4 func(int, string)) (_swig_ret Telio)

type TelioEventCb

type TelioEventCb interface {
	Swigcptr() uintptr
	SwigIsTelioEventCb()
	SetCtx(arg2 uintptr)
	GetCtx() (_swig_ret uintptr)
	SetCb(arg2 _swig_fnptr)
	GetCb() (_swig_ret _swig_fnptr)
}

func NewTelioEventCb

func NewTelioEventCb() (_swig_ret TelioEventCb)

type TelioLoggerCb

type TelioLoggerCb interface {
	Swigcptr() uintptr
	SwigIsTelioLoggerCb()
	SetCtx(arg2 uintptr)
	GetCtx() (_swig_ret uintptr)
	SetCb(arg2 _swig_fnptr)
	GetCb() (_swig_ret _swig_fnptr)
}

func NewTelioLoggerCb

func NewTelioLoggerCb() (_swig_ret TelioLoggerCb)

Jump to

Keyboard shortcuts

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