daemon

package
v0.16.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: BSD-3-Clause 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 struct {
	// contains filtered or unexported fields
}

Daemon is the torus coprocess that contains session secrets, handles cryptographic operations, and communication with the registry.

func New

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

New creates a new Daemon.

func (*Daemon) Addr

func (d *Daemon) Addr() string

Addr returns the domain socket the Daemon is listening on.

func (*Daemon) Run

func (d *Daemon) Run() error

Run starts the daemon main loop. It returns on failure, or when the daemon has been gracefully shut down.

func (*Daemon) Shutdown

func (d *Daemon) Shutdown() error

Shutdown gracefully shuts down the daemon.

Directories

Path Synopsis
Package crypto provides access to secure encryption and signing methods
Package crypto provides access to secure encryption and signing methods
Package ctxutil contains utilities for using Contexts.
Package ctxutil contains utilities for using Contexts.
Package db provides persistent storage and caching of values returned from the registry.
Package db provides persistent storage and caching of values returned from the registry.
Package logic exposes the core logic engine used for working with keyrings, keys, claims, teams, memberships, orgs, and other primitive objects core to the cryptography architecture
Package logic exposes the core logic engine used for working with keyrings, keys, claims, teams, memberships, orgs, and other primitive objects core to the cryptography architecture
Package observer provides a facility for publishing progress updates and state changes from parts of the daemon, an a SSE http handler for consumers of these events.
Package observer provides a facility for publishing progress updates and state changes from parts of the daemon, an a SSE http handler for consumers of these events.
Package registry provides access to the Torus registry REST API.
Package registry provides access to the Torus registry REST API.
Package session provides in-memory storage of secure session details.
Package session provides in-memory storage of secure session details.

Jump to

Keyboard shortcuts

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