config

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config[C any] struct {
	// Application specific config
	App C

	// EthClient config
	ConnectionPool eth.ConnectionPoolConfig

	// Server Config
	Server server.Config

	// Log Config
	Log log.Config
}

Config represents a configuration for the application + the offchain-sdk pieces.

type Reader

type Reader[C any] func(string, *C) error

Reader defines an interface for reading in configuration data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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