components

package module
Version: v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 12 Imported by: 0

README

Pip.Services Logo
Component definitions for Pip.Services in Gol

This module is a part of the Pip.Services polyglot microservices toolkit.

The Components module contains standard component definitions that can be used to build applications and services.

The module contains the following packages:

  • Auth - authentication credential stores
  • Build - factories
  • Cache - distributed cache
  • Component - the root package
  • Config - configuration readers
  • Connect - connection discovery services
  • Count - performance counters
  • Info - context info
  • Lock - distributed locks
  • Log - logging components
  • Test - test components

Quick links:

Use

Get the package from the Github repository:

go get -u github.com/pip-services3-go/pip-services3-components-go@latest

Develop

For development you shall install the following prerequisites:

  • Golang v1.12+
  • Visual Studio Code or another IDE of your choice
  • Docker
  • Git

Run automated tests:

go test -v ./test/...

Generate API documentation:

./docgen.ps1

Before committing changes run dockerized test as:

./test.ps1
./clear.ps1

Contacts

The library is created and maintained by Sergey Seroukhov.

The documentation is written by Levichev Dmitry.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	DependencyResolver *refer.DependencyResolver
	Logger             *log.CompositeLogger
	Counters           *count.CompositeCounters
}

func InheritComponent

func InheritComponent() *Component

func (*Component) Configure

func (c *Component) Configure(config *config.ConfigParams)

func (*Component) SetReferences

func (c *Component) SetReferences(references refer.IReferences)

Directories

Path Synopsis
Abstract implementation of various distributed caches.
Abstract implementation of various distributed caches.
Contains implementation of the config design pattern.
Contains implementation of the config design pattern.
Contains implementation of connection parameters, using various connection strings, which are stripped of all credentials.
Contains implementation of connection parameters, using various connection strings, which are stripped of all credentials.
log

Jump to

Keyboard shortcuts

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