ipc

package
v0.0.0-...-675dedd Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IpcReader

type IpcReader interface {
	Read() ([]byte, error)
	Cleanup()
}

type IpcShmHandler

type IpcShmHandler struct {
	// contains filtered or unexported fields
}

func CreateIpcShmHandler

func CreateIpcShmHandler(identifier string, size int, isWriter bool) (*IpcShmHandler, error)

func (*IpcShmHandler) Cleanup

func (handler *IpcShmHandler) Cleanup()

func (*IpcShmHandler) LastUpdate

func (handler *IpcShmHandler) LastUpdate() time.Time

func (*IpcShmHandler) Read

func (handler *IpcShmHandler) Read() ([]byte, error)

func (*IpcShmHandler) Write

func (handler *IpcShmHandler) Write(data []byte) error

type IpcWriter

type IpcWriter interface {
	Write(data []byte) error
	Cleanup()
}

Jump to

Keyboard shortcuts

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