root

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: AGPL-3.0 Imports: 8 Imported by: 1 module, 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

Overview

Package root provides shared resources to the whole application.

In particular, this package initialize IoC with binding for external packages. This package can be imported by all other application specific packages (main/* and mid/*). Therefore, it must not import any application specific package.

Index

Constants

This section is empty.

Variables

View Source
var BaseDir string

BaseDir is the path in which the configuration file has been found.

View Source
var Configured = false

Configured indicates whether the configuration file has successfully been read.

View Source
var IoC = ioc.New()

IoC is the root locator for the application. Application packages providing services must Bind to it in their init function.

Functions

func PasswdHash added in v0.1.5

func PasswdHash() (hash.Hash, error)

PasswdHash provides the hash function used for passwords.

Types

This section is empty.

Jump to

Keyboard shortcuts

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