package
0.1.6
Repository: https://github.com/azure/buffalo-azure.git
Documentation: pkg.go.dev

# Functions

NewContext initializes a new `eventgrid.Context`.
NewResponseWriter initializes a ResponseWriter which will merge the responses of several Event Grid Handlers.
NewTypeDispatchSubscriber initializes a new empty TypeDispathSubscriber.
ReceiveSubscriptionValidationRequest will echo the ValidateCode sent in the request back to the Event Grid Topic seeking subscription validation.
RegisterSubscriber updates a `buffalo.App` to route requests to a particular subscriber.
SubscriptionValidationMiddleware provides a `buffalo.Handler` which will triage all incoming requests to either submit it for event processing, or echo back the response the server expects to validate a subscription.
SuccessStatusCodes returns an unordered list of HTTP Status Codes that should be considered having been handled correctly.

# Constants

CacheDefaultMaxDepth is the maximum number of Events that will be stored here, before they begin automatically removed.
CacheDefaultTTL is the default length of time that each event will live in the cache before it is aut.
EventTypeWildcard is a special-case value that can be used when subscribing to an EventGrid topic.
MaxEventSize is the largest number of bytes permitted for an individual Event Grid Event.
MaxPayloadSize is the largest number of bytes permitted in the body of a request sent to an Event Grid Topic.

# Structs

BaseSubscriber will always respond to request by returning an HTTP 404 status.
Cache will hold a set number of events for a short amount of time.
Context extends `buffalo.Context` to ease communication between a Request Handler and an Event Grid Topic.
Event allows for easy processing of Event Grid Events.
ResponseWriter looks like an `http.ResponseWriter`, but.
SimpleSubscriber only fulfills the "Receive" portion of the Subscriber interface.
SubscriptionValidationRequest allows for easy unmarshaling of the first event sent by an Event Grid Topic.
TypeDispatchSubscriber offers an indirection for calling a function when an Event Grid Event has a particular value for the property `eventType`.

# Interfaces

Subscriber allows for quick implementation of RESTful actions while working with Event Grid events.

# Type aliases

App extends the functionality of a normal buffalo.App with actions specific to Event Grid.
EventHandler extends the definition of buffalo.Handler to include an `Event`.