Documentation ¶
Rendered for darwin/amd64
Index ¶
- Variables
- func CloseConnWithPeer(remotePID string)
- func DialPeer(remotePID string) bool
- func MCHandleFoundPeer(remotePID *C.char) int
- func MCHandleLostPeer(remotePID *C.char)
- func MCLog(level C.enum_level, message *C.char)
- func MCReceiveFromPeer(remotePID *C.char, payload unsafe.Pointer, length C.int)
- func MCUseExternalLogger()
- func SendToPeer(remotePID string, payload []byte) bool
- func Start(localPID string)
- func Stop()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Logger *zap.Logger ProtocolName string )
Functions ¶
func CloseConnWithPeer ¶
func CloseConnWithPeer(remotePID string)
func MCHandleFoundPeer ¶
func MCHandleLostPeer ¶
func MCReceiveFromPeer ¶
func MCUseExternalLogger ¶
func MCUseExternalLogger()
func SendToPeer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.