templates

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 6 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BesuGenesisJson = `` /* 1000-byte string literal not displayed */
View Source
var BootnodeScript = `` /* 367-byte string literal not displayed */
View Source
var (
	ErrParsingTemplate = errors.New("failed to parse Go text template")
)
View Source
var GenesisJson = `` /* 944-byte string literal not displayed */
View Source
var InitGethScript = `` /* 184-byte string literal not displayed */
View Source
var InitNonDevGethScript = `` /* 200-byte string literal not displayed */

Functions

func BuildBesuGenesisJsonForNonDevChain added in v1.17.0

func BuildBesuGenesisJsonForNonDevChain(chainId string, accountAddr []string, extraData string) (string, error)

func BuildGenesisJsonForNonDevChain added in v1.16.1

func BuildGenesisJsonForNonDevChain(chainId string, accountAddr []string, extraData string) (string, error)

func MarshalTemplate added in v1.16.1

func MarshalTemplate(jobSpec interface{}, name, templateString string) (string, error)

MarshalTemplate Helper to marshal templates

Types

type GenesisJsonTemplate added in v1.16.1

type GenesisJsonTemplate struct {
	AccountAddr string
	ChainId     string
}

func (GenesisJsonTemplate) String added in v1.16.1

func (c GenesisJsonTemplate) String() (string, error)

String representation of the job

Jump to

Keyboard shortcuts

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