message

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageFrontend

type MessageFrontend struct {
	Type   string      `json:"type"`
	Status string      `json:"status"`
	Value  interface{} `json:"value"`
}

Message describes the format of messages being sent to the frontend

type MessageML

type MessageML struct {
	QueryID      string      `json:"queryID"`
	Type         string      `json:"type"`
	Value        interface{} `json:"value"`
	MLAttributes interface{} `json:"mlAttributes"`
}

MessageStruct describes outgoing messages from the query service TODO: needs to generalize so that ML can handle other types of requests, not just requests based on query results

type MessageValueQuery

type MessageValueQuery struct {
	QueryID string      `json:"queryID"`
	Result  interface{} `json:"result"`
}

MessageValueQuery describes outgoing messages from the query service

Jump to

Keyboard shortcuts

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