ipc

package
v0.0.0-...-7120173 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseSocket

func CloseSocket() error

func GetIpcPath

func GetIpcPath() string

Choose the right directory to the ipc socket and return it

func OpenSocket

func OpenSocket() error

OpenSocket opens the discord-ipc-0 unix socket

func Read

func Read() string

Read the socket response

func Send

func Send(opcode int, payload string) string

Send opcode and payload to the unix socket

Types

This section is empty.

Jump to

Keyboard shortcuts

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