client

package
v0.0.0-...-9e1cc8c Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNotify

func NewNotify(host string, timeout time.Duration) (*notify, error)

func NewNotifyFromClient

func NewNotifyFromClient(notifyClient pb.NotifyServiceClient) *notify

Types

type Notify

type Notify interface {
	Add(nodeId, severity, ntype, serviceName, description, details string, status, epochTime uint32) (*pb.AddResponse, error)
	Get(id string) (*pb.GetResponse, error)
	List(nodeId, serviceName, nType string, count uint32, sort bool) (*pb.ListResponse, error)
	Delete(id string) (*pb.DeleteResponse, error)
	Purge(nodeId, serviceName, nType string) (*pb.ListResponse, error)
}

Jump to

Keyboard shortcuts

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