Messages

package
v0.0.0-...-97f3c37 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 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 BroadcastMsg

type BroadcastMsg struct {
	Key       string `json:"key"`
	Value     []byte `json:"value"`
	Type      int    `json:"type"`
	Timestamp string `json:"timestamp"`
	Index     int
	Error     bool
}

type OracleMsg

type OracleMsg struct {
	Key       string `json:"key"`
	Value     []byte `json:"value"`
	Type      int    `json:"type"`
	Timestamp string `json:"timestamp"`
	Error     bool   `json:"error"`
}

type SubscribeMsg

type SubscribeMsg struct {
	VmId          int
	Url           string
	OracleKey     string
	KeyType       int
	Index         int
	BroadcastChan chan *BroadcastMsg
}

type UnsubscribeMsg

type UnsubscribeMsg struct {
	VM int
}

Jump to

Keyboard shortcuts

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