daemon

package
v0.0.0-...-4fb02c9 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: GPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitApplication

func InitApplication(config *configx.Configuration) (*configx.Application, error)

InitApplication is a function to initialize application.

func InitTonClient

func InitTonClient(config *configx.Configuration) (*tonx.Client, error)

InitTonClient is used to initialize the ton client.

func New

func New(v *viper.Viper) (adapterx.Server, func(), error)

func NewInitServersFn

func NewInitServersFn(
	blockServer blockB.BlockServiceServer,
	txServer txB.TransactionServiceServer,
) grpcx.InitServers

NewInitServersFn is a function to create a new init servers function.

func NewServer

func NewServer(injector *Injector, grpcserver *grpcx.Server, bus eventx.EventBus) (adapterx.Server, func(), error)

NewServer is a function to create a new server.

Types

type Injector

type Injector struct {
	C     *configx.Configuration
	A     *configx.Application
	OTelx *otelx.SDK
	// contains filtered or unexported fields
}

Injector is a struct that contains the necessary fields to inject the daemon.

Jump to

Keyboard shortcuts

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