service

package
v0.10.9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package service provides bindings for collecting services into a map and registering the min one go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Balances     *balance.Store
	Accounts     accounts.Wallet
	Currencies   *balance.CurrencyList
	Cfg          config.Server
	NodeContext  node.Context
	ValidatorSet *identity.ValidatorStore
	Domains      *ons.DomainStore
	Services     client.ExtServiceContext
	Router       action.Router
	Logger       *log.Logger
}

Context is the master context for creating new contexts

type Map

type Map map[string]interface{}

Map of services, keyed by the name/prefix of the service

func NewMap

func NewMap(ctx *Context) Map

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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