Documentation ¶
Index ¶
- Variables
- func BindNativeToGoFunctions(hfp func(string) bool, hlp func(string), rfp func(string, []byte))
- func CloseConnWithPeer(remotePID string)
- func DialPeer(remotePID string) bool
- func HandleFoundPeer(remotePID *C.char) int
- func HandleLostPeer(remotePID *C.char)
- func ReceiveFromPeer(remotePID *C.char, payload unsafe.Pointer, length C.int)
- func SendToPeer(remotePID string, payload []byte) bool
- func StartMCDriver(localPID string)
- func StopMCDriver()
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func BindNativeToGoFunctions ¶
Native -> Go functions
func CloseConnWithPeer ¶
func CloseConnWithPeer(remotePID string)
func HandleFoundPeer ¶ added in v2.151.1
func HandleLostPeer ¶ added in v2.187.1
func ReceiveFromPeer ¶ added in v2.151.1
func SendToPeer ¶
func StartMCDriver ¶
func StartMCDriver(localPID string)
func StopMCDriver ¶
func StopMCDriver()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.