config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() toml.Config

Default returns a default TOML configuration for Gossamer.

func LogGrandpa

func LogGrandpa() (cfg toml.Config)

LogGrandpa generates a grandpa config.

func NoBabe

func NoBabe() (cfg toml.Config)

NoBabe generates a no-babe config.

func NoGrandpa

func NoGrandpa() (cfg toml.Config)

NoGrandpa generates an no-grandpa config.

func NotAuthority

func NotAuthority() (cfg toml.Config)

NotAuthority generates an non-authority config.

func Write

func Write(t *testing.T, cfg ctoml.Config) (configPath string)

Write writes the toml configuration to a file in a temporary test directory which gets removed at the end of the test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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