serve

package
v0.0.0-...-43207eb Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(cfg Configs) error

Types

type Configs

type Configs struct {
	Port                    int
	DatabaseURL             string
	ServerBaseURL           string
	WalletSigningKey        string
	LogLevel                logrus.Level
	EncryptionPassphrase    string
	NumberOfChannelAccounts int

	// Horizon
	SupportedAssets                    []entities.Asset
	NetworkPassphrase                  string
	MaxSponsoredBaseReserves           int
	BaseFee                            int
	HorizonClientURL                   string
	DistributionAccountSignatureClient signing.SignatureClient
	ChannelAccountSignatureClient      signing.SignatureClient
	// TSS
	RPCURL                                               string
	RPCCallerServiceChannelBufferSize                    int
	RPCCallerServiceChannelMaxWorkers                    int
	ErrorHandlerServiceJitterChannelBufferSize           int
	ErrorHandlerServiceJitterChannelMaxWorkers           int
	ErrorHandlerServiceNonJitterChannelBufferSize        int
	ErrorHandlerServiceNonJitterChannelMaxWorkers        int
	ErrorHandlerServiceJitterChannelMinWaitBtwnRetriesMS int
	ErrorHandlerServiceNonJitterChannelWaitBtwnRetriesMS int
	ErrorHandlerServiceJitterChannelMaxRetries           int
	ErrorHandlerServiceNonJitterChannelMaxRetries        int
	WebhookHandlerServiceChannelMaxBufferSize            int
	WebhookHandlerServiceChannelMaxWorkers               int
	WebhookHandlerServiceChannelMaxRetries               int
	WebhookHandlerServiceChannelMinWaitBtwnRetriesMS     int

	// Error Tracker
	AppTracker apptracker.AppTracker
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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