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
Click to show internal directories.
Click to hide internal directories.