A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cloudevents/sdk-go/commit/1bcaa28bf17573bf982c287be4139854f556e5ea below:

Update links to cloudevents spec · cloudevents/sdk-go@1bcaa28 · GitHub

File tree Expand file treeCollapse file tree 5 files changed

+10

-9

lines changed

Filter options

Expand file treeCollapse file tree 5 files changed

+10

-9

lines changed Original file line number Diff line number Diff line change

@@ -8,7 +8,7 @@ import "google/protobuf/any.proto";

8 8

import "google/protobuf/timestamp.proto";

9 9 10 10

// CloudEvent is copied from

11 -

// https://github.com/cloudevents/spec/blob/master/protobuf-format.md.

11 +

// https://github.com/cloudevents/spec/blob/main/cloudevents/formats/protobuf-format.md.

12 12

message CloudEvent {

13 13

// Unique event identifier.

14 14

string id = 1;

Original file line number Diff line number Diff line change

@@ -56,13 +56,13 @@ support the following:

56 56 57 57

## Personas

58 58 59 -

- [Producer](https://github.com/cloudevents/spec/blob/master/spec.md#producer),

59 +

- [Producer](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#producer),

60 60

the "producer" is a specific instance, process or device that creates the data

61 61

structure describing the CloudEvent.

62 -

- [Consumer](https://github.com/cloudevents/spec/blob/master/spec.md#consumer),

62 +

- [Consumer](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#consumer),

63 63

a "consumer" receives the event and acts upon it. It uses the context and data

64 64

to execute some logic, which might lead to the occurrence of new events.

65 -

- [Intermediary](https://github.com/cloudevents/spec/blob/master/spec.md#intermediary),

65 +

- [Intermediary](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#intermediary),

66 66

An "intermediary" receives a message containing an event for the purpose of

67 67

forwarding it to the next receiver, which might be another intermediary or a

68 68

Consumer. A typical task for an intermediary is to route the event to

@@ -96,4 +96,4 @@ continued the message to one or more Consumers.

96 96

Mutator, when a Producer or Intermediary blocks on a response from a Consumer,

97 97

replacing the original Event.

98 98 99 -

![mutator](./images/mutator.svg "Mutator")

99 +

![mutator](./images/mutator.svg "Mutator")

Original file line number Diff line number Diff line change

@@ -11,9 +11,9 @@ import "errors"

11 11

type Encoding int

12 12 13 13

const (

14 -

// Binary encoding as specified in https://github.com/cloudevents/spec/blob/master/spec.md#message

14 +

// Binary encoding as specified in https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#message

15 15

EncodingBinary Encoding = iota

16 -

// Structured encoding as specified in https://github.com/cloudevents/spec/blob/master/spec.md#message

16 +

// Structured encoding as specified in https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#message

17 17

EncodingStructured

18 18

// Message is an instance of EventMessage or it contains EventMessage nested (through MessageWrapper)

19 19

EncodingEvent

Original file line number Diff line number Diff line change

@@ -179,7 +179,8 @@ func (ec EventContextV03) AsV1() *EventContextV1 {

179 179

}

180 180 181 181

// Validate returns errors based on requirements from the CloudEvents spec.

182 -

// For more details, see https://github.com/cloudevents/spec/blob/master/spec.md

182 +

// For more details, see

183 +

// https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md

183 184

// As of Feb 26, 2019, commit 17c32ea26baf7714ad027d9917d03d2fff79fc7e

184 185

// + https://github.com/cloudevents/spec/pull/387 -> datacontentencoding

185 186

// + https://github.com/cloudevents/spec/pull/406 -> subject

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4