api

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventRequestV2

type EventRequestV2 struct {
	EventType           string       `json:"type"`
	EventTypeVersion    string       `json:"eventtypeversion"`
	EventID             string       `json:"id"`
	EventTime           string       `json:"time"`
	SpecVersion         string       `json:"specversion"`
	DataContentEncoding string       `json:"datacontentencoding,omitempty"`
	Data                api.AnyValue `json:"data"`
}

EventRequestV2 implements the service definition of EventRequestV2

type PublishEventParametersV2

type PublishEventParametersV2 struct {
	EventRequestV2 EventRequestV2 `json:"publishrequest,omitempty"`
}

PublishEventParametersV2 holds parameters to PublishEvent

type SendEventParametersV2

type SendEventParametersV2 struct {
	Source              string       `json:"source"`
	Type                string       `json:"type"`
	EventTypeVersion    string       `json:"eventtypeversion"`
	ID                  string       `json:"id"`
	Time                string       `json:"time"`
	SpecVersion         string       `json:"specversion"`
	DataContentEncoding string       `json:"datacontentencoding"`
	Data                api.AnyValue `json:"data"`
}

SendEventParametersV2 implements the request to the outbound messaging API

Jump to

Keyboard shortcuts

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