node

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultHost = "0.0.0.0"
	DefaultPort = "80"
)

default host and port for the API server

Variables

This section is empty.

Functions

func CheckParams added in v0.5.25

func CheckParams(ctx context.Context, redisClient rueidis.Client, networkParamsCaller *vsl.NetworkParamsCaller, settlementCaller *vsl.SettlementCaller) error

CheckParams checks the network parameters and settlement tasks

Types

type Core added in v0.4.22

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

Core is logically formed by an API server and a list of components

func NewCoreService added in v0.4.22

func NewCoreService(ctx context.Context, config *config.File, databaseClient database.Client, redisClient rueidis.Client, networkParamsCaller *vsl.NetworkParamsCaller, settlementCaller *vsl.SettlementCaller) *Core

NewCoreService initializes the core services required by the Core

func (*Core) Run added in v0.4.22

func (s *Core) Run(_ context.Context) error

Directories

Path Synopsis
rss

Jump to

Keyboard shortcuts

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