toyblc

package
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 19 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 struct {
	Miner           bool
	MinMineInterval time.Duration
	Address         string
	Accounts        map[string]string
	HTTPOptions     *genericoptions.HTTPOptions
	TLSOptions      *genericoptions.TLSOptions
	P2PAddr         string
	Peers           []string
}

Config represents the configuration of the service.

func (*Config) Complete

func (cfg *Config) Complete() completedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type ToyBLC

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

ToyBLC represents the toyblc application.

func (*ToyBLC) Run

func (t *ToyBLC) Run(stopCh <-chan struct{}) error

Directories

Path Synopsis
controller

Jump to

Keyboard shortcuts

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