xmidt_agent_crud

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLogLevelChangeDuration = 30 * time.Minute

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(egress wrpkit.Handler, source string, logLevel loglevel.LogLevel) (*Handler, error)

New creates a new instance of the Handler struct. The parameter egress is the handler that will be called to send the response. The parameter source is the source to use in the response message. This handler handles crud messages specifically for xmdit-agent, only.

func (*Handler) HandleWrp

func (h *Handler) HandleWrp(msg wrp.Message) error

Jump to

Keyboard shortcuts

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