core

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: AGPL-3.0 Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CfgDevModeKey is originally defined in portbase/config.
	CfgDevModeKey = config.CfgDevModeKey

	CfgNetworkServiceKey = "core/networkService"

	CfgUseSystemNotificationsKey = "core/useSystemNotifications"
)

Configuration Keys.

Functions

This section is empty.

Types

type MessageRecord added in v0.4.2

type MessageRecord struct {
	record.Base
	sync.Mutex

	Success bool
	Message string
}

MessageRecord is a simple record used for control database feedback

type StorageInterface added in v0.4.2

type StorageInterface struct {
	storage.InjectBase
}

StorageInterface provices a storage.Interface to the storage manager.

func (*StorageInterface) Get added in v0.4.2

func (s *StorageInterface) Get(key string) (record.Record, error)

Get returns a database record.

Directories

Path Synopsis
Package pmtesting provides a simple unit test setup routine.
Package pmtesting provides a simple unit test setup routine.

Jump to

Keyboard shortcuts

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