Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ObjectName defines the name of the syncbeacon object.
ObjectName = "syncbeacon"
)
Variables ¶
View Source
var Type = payload.Type(200)
Type is the type of the syncbeacon payload.
Functions ¶
func IsSyncBeaconPayload ¶
IsSyncBeaconPayload checks if the message is sync beacon payload.
Types ¶
type Payload ¶
type Payload struct {
// contains filtered or unexported fields
}
Payload represents the syncbeacon payload
func FromBytes ¶
func FromBytes(bytes []byte, optionalTargetObject ...*Payload) (result *Payload, err error, consumedBytes int)
FromBytes parses the marshaled version of a Payload into an object. It either returns a new Payload or fills an optionally provided Payload with the parsed information.
func NewSyncBeaconPayload ¶
NewSyncBeaconPayload creates a new syncbeacon payload
Click to show internal directories.
Click to hide internal directories.