split

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerType = "split_controller"
)
View Source
const (
	HashType = "split_hash"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Timestamp          time.Time
	SplitAddress       string
	ExpectedController string
	ActualController   string
	Group              string
	Monitor            string
}

func NewController

func NewController(timestamp time.Time, monitor, group, splitAddress, expectedController, actualController string) *Controller

func (*Controller) GetDescription

func (v *Controller) GetDescription() string

func (*Controller) GetGroup

func (v *Controller) GetGroup() string

func (*Controller) GetMonitor

func (v *Controller) GetMonitor() string

func (*Controller) GetTitle

func (v *Controller) GetTitle() string

func (*Controller) GetType

func (v *Controller) GetType() string

type Hash

type Hash struct {
	Timestamp    time.Time
	SplitAddress string
	ExpectedHash string
	ActualHash   string
	Group        string
	Monitor      string
}

func NewHash

func NewHash(timestamp time.Time, monitor, group, splitAddress, expectedHash, actualHash string) *Hash

func (*Hash) GetDescription

func (v *Hash) GetDescription() string

func (*Hash) GetGroup

func (v *Hash) GetGroup() string

func (*Hash) GetMonitor

func (v *Hash) GetMonitor() string

func (*Hash) GetTitle

func (v *Hash) GetTitle() string

func (*Hash) GetType

func (v *Hash) GetType() string

Jump to

Keyboard shortcuts

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