mcdriver

package
v2.158.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GoHandleFoundPeer func(remotePID string) bool            = nil
	GoReceiveFromPeer func(remotePID string, payload []byte) = nil
)

Functions

func CloseConnWithPeer

func CloseConnWithPeer(_ string)

func DialPeer

func DialPeer(_ string) bool

func HandleFoundPeer

func HandleFoundPeer(*C.char) C.int

func ReceiveFromPeer

func ReceiveFromPeer(*C.char, unsafe.Pointer, C.int)

func SendToPeer

func SendToPeer(_ string, _ []byte) bool

func StartMCDriver

func StartMCDriver(_ string)

func StopMCDriver

func StopMCDriver()

Types

This section is empty.

Jump to

Keyboard shortcuts

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