maintenance

package
v0.0.0-...-1929ff6 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package maintenance provides maintenance functionalities for the zetaclient.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TSSListener

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

TSSListener is a struct that listens for TSS updates, new keygen, and new TSS key generation.

func NewTSSListener

func NewTSSListener(client interfaces.ZetacoreClient, logger zerolog.Logger) *TSSListener

NewTSSListener creates a new TSSListener.

func (*TSSListener) Listen

func (tl *TSSListener) Listen(ctx context.Context, action func())

Listen listens for any maintenance regarding TSS and calls action specified. Works in the background.

Jump to

Keyboard shortcuts

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