internal

package
v0.0.0-...-9d9ea44 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	RequestBacklogGlobalQueueLimit   int
	RequestExecutionWarningThreshold time.Duration
	MaxRequestExecutionDuration      time.Duration
	MaxOfferTaskExecutionDuration    time.Duration
}

type Handler

type Handler struct {
	http.Handler
	// contains filtered or unexported fields
}

Handler is the HTTP handler which serves the Soroban JSON RPC responses

func NewJSONRPCHandler

func NewJSONRPCHandler(params HandlerParams) Handler

NewJSONRPCHandler constructs a Handler instance

type HandlerCfg

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

type HandlerParams

type HandlerParams struct {
	Logger    *log.Entry
	TaskStore *store.InMemoryTaskStore
	Worker    plugins.IWorker
}

Directories

Path Synopsis
nodecli
gen
Package gen provides primitives to interact with the openapi HTTP API.
Package gen provides primitives to interact with the openapi HTTP API.
sd
sd/sdcli/gen
Package gen provides primitives to interact with the openapi HTTP API.
Package gen provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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