message

package
v1.0.1-0...-a1da343 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessagePack

type MessagePack struct {
	Connector  string
	TargetUser string
	JobContext *slurmjob.JobContext
	TimeStamp  time.Time
}

MessagePack is the central data structure that holds all the data about the message that is currently being processed. It is used to pass the "message" and its "metadata" between all of the components of the system, e.g. main->connector->spooler->gobler->sender etc.

func NewMsgPack

func NewMsgPack(connectorName string, targetUser string, jobContext *slurmjob.JobContext) (*MessagePack, error)

NewMsgPack returns the instantiated message.MessagePack structure

Jump to

Keyboard shortcuts

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