Documentation
¶
Index ¶
- func InitApplication(config *configx.Configuration) (*configx.Application, error)
- func InitTonClient(config *configx.Configuration) (*tonx.Client, error)
- func New(v *viper.Viper) (adapterx.Server, func(), error)
- func NewInitServersFn(blockServer blockB.BlockServiceServer, txServer txB.TransactionServiceServer) grpcx.InitServers
- func NewServer(injector *Injector, grpcserver *grpcx.Server, bus eventx.EventBus) (adapterx.Server, func(), error)
- type Injector
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 NewInitServersFn ¶
func NewInitServersFn( blockServer blockB.BlockServiceServer, txServer txB.TransactionServiceServer, ) grpcx.InitServers
NewInitServersFn is a function to create a new init servers function.
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.
Click to show internal directories.
Click to hide internal directories.