svc

package
v0.0.0-...-3598874 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}
var MONITOR Monitor

func NewMonitor

func NewMonitor() *Monitor

NewMonitor creates a new Monitor instance with a Cosmos client and BVS contract.

It takes no parameters. Returns a pointer to a Monitor struct.

func (*Monitor) Run

func (m *Monitor) Run(ctx context.Context)

Run starts the task queue monitoring process.

It takes a context.Context object as a parameter. No return values.

func (*Monitor) VerifyOperator

func (m *Monitor) VerifyOperator(operator string) (bool, error)

Jump to

Keyboard shortcuts

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