daemon

package
v0.0.0-...-dd73c42 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateListener

func CreateListener(socketPath string) (net.Listener, error)

CreateListener creates a network listener to be used by gourdd

Types

type Daemon

type Daemon struct {
	ID     uint8
	Socket net.Listener
}

Daemon is used to group together data related to gourdd

func GetDaemon

func GetDaemon(socketPath string) *Daemon

GetDaemon will return the primary instance of gourdd

func (*Daemon) Listen

func (d *Daemon) Listen()

Listen will accept socket connections and forward them to the rpc command handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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