Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CloudEventSource is the repo where this project lives CloudEventSource = "https://github.com/jonpulsifer/ddnsb0t" // CloudEventSchema is the location of the Request and Response types CloudEventSchema = "https://github.com/jonpulsifer/ddnsb0t/pkg/ddns/ddns.go" // CloudEventRequestType is the CloudEvent Request CloudEventRequestType = "dev.pulsifer.ddns.request" // CloudEventResponseType is the CloudEvent Response CloudEventResponseType = "dev.pulsifer.ddns.response" )
Variables ¶
This section is empty.
Functions ¶
func GenerateCloudEventRequest ¶
func GenerateCloudEventRequest(request Request) cloudevents.Event
GenerateCloudEventRequest builds a cloudevents.Event from a ddns.Request
func GenerateCloudEventResponse ¶
func GenerateCloudEventResponse(response Response) cloudevents.Event
GenerateCloudEventResponse builds a cloudevents.Event from a ddns.Response
Types ¶
Click to show internal directories.
Click to hide internal directories.