daemon

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

type Daemon interface {
	Config() config.Config
	Preferences() preferences.Preferences
	Network() network.Network
	Resolver() resolver.Resolver
	ObjectStore() objectstore.Store
	ObjectManager() objectmanager.ObjectManager
	FeedManager() feedmanager.FeedManager
	KeyStreamManager() keystream.Manager
	// daemon specific methods
	Close()
}

func New

func New(ctx context.Context, opts ...Option) (Daemon, error)

type Option added in v0.18.0

type Option func(d *daemon) error

func WithConfigOptions added in v0.18.0

func WithConfigOptions(opts ...config.Option) Option

Jump to

Keyboard shortcuts

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