qmp

package
v0.0.0-...-c0b5b33 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(socket string) (net.Conn, error)

Dial dials a QMP unix socket and performs the initial handshake.

func Shutdown

func Shutdown(ctx context.Context, conn net.Conn) error

Shutdown issues a `system_powerdown` command to the connected QMP socket.

Types

This section is empty.

Jump to

Keyboard shortcuts

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