daemon

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

README

daemon

-- import "github.com/Clever/sphinx/daemon"

Usage

type Daemon
type Daemon interface {
	Start()
	LoadConfig(config config.Config) error
}
func New
func New(config config.Config) (Daemon, error)

NewDaemon takes in config.Configuration and creates a sphinx listener

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

type Daemon interface {
	Start()
	LoadConfig(config config.Config) error
}

Daemon represents a daemon server

func New

func New(config config.Config) (Daemon, error)

New takes in config.Configuration and creates a sphinx listener

Jump to

Keyboard shortcuts

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