handler

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 4 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 {
	// contains filtered or unexported fields
}

Config contains handler functions of the CLI commands related to key-vault config.

func New

func New(printer printer.Printer, network core.Network) *Config

New is the constructor of Seed handler.

func (*Config) CurrentEpoch

func (h *Config) CurrentEpoch(_ *cobra.Command, _ []string) error

CurrentEpoch prints the current epoch.

func (*Config) CurrentSlot

func (h *Config) CurrentSlot(_ *cobra.Command, _ []string) error

CurrentSlot prints the current slot.

Jump to

Keyboard shortcuts

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