global

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModule

func NewModule() inject.Module

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func CreateApp

func CreateApp() (*App, error)

func CreateAppFrom

func CreateAppFrom(m inject.Module) (*App, error)

func (*App) Start

func (a *App) Start()

func (*App) Stop

func (a *App) Stop()

type Config

type Config struct {
	Services []ServiceConfig
}

type FileStore

type FileStore struct {
}

func (*FileStore) StoreTransaction added in v1.0.2

func (s *FileStore) StoreTransaction(tx string)

type ServiceConfig

type ServiceConfig struct {
	Type   string
	Config interface{}
}

type ServicesFactory

type ServicesFactory struct {
	// contains filtered or unexported fields
}

func (*ServicesFactory) CreateService

func (f *ServicesFactory) CreateService(sc ServiceConfig) (hierarchical.Service, error)

Jump to

Keyboard shortcuts

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