package
0.1.3
Repository: https://github.com/monadicstack/abide.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Listen adds another gateway to the server.
NewServer creates a new container that encapsulates one or more gateways and services.
Register adds endpoint handlers for the given service(s) to the appropriate gateways.

# Constants

GatewayTypeAPI marks a gateway as being an HTTP/RPC API gateway.
GatewayTypeEvents marks a gateway as being event-sourced using publish/subscribe.

# Structs

Endpoint describes an operation on an underlying service that we expose through one of potentially multiple gateways.
EndpointRoute defines an actual ingress route that allows a service operation to be invoked by various gateways.
Server is the primordial component that wrangles all of your services and gateways to get them talking to each other.
Service encapsulates your hand-implemented service handler and includes all of the endpoint registration information required to power our runtime gateways.
StreamRequest implements all of the ContentXxx and SetContentXxx methods that we support and look at when we look at streaming/upload style requests.
StreamResponse implements all of the ContentXxx and SetContentXxx methods that we support.

# Interfaces

ContentGetter provides a way for your service response to indicate that you want to return a raw stream of bytes rather than relying on our auto-encoding.
ContentLengthGetter is used by raw response streams to indicate exactly how many bytes are in the response's Content stream.
ContentLengthSetter recaptures the custom content length header from raw responses when using the code-generate Go client for your services.
ContentRangeGetter is used by raw response streams to indicate that this is resumable using the standard Range header.
ContentRangeSetter recaptures the custom content range header from raw responses when using the code-generated Go client for your services.
ContentSetter allows raw stream responses to be properly reconstituted when using the code-generated Go client for your service.
ContentTypeGetter is used by raw response streams to indicate what type of data is in the stream.
ContentTypeSetter recaptures the custom content type header from raw responses when using the code-generated Go client for your service.
Gateway describes a way to execute operations on some underlying service.
GatewayMiddleware allows gateway implementations to add special middleware to the standard execution pipeline for an endpoint.
Redirector provides a way to tell gateways that the response value doesn't contain the raw byte stream we want to deliver.
RedirectorPermanent provides a way to tell gateways that the response value doesn't contain the raw byte stream we want to deliver.

# Type aliases

GatewayType is a tagging value that gateways can use to classify themselves.
HandlerFunc is the general purpose signature for any endpoint handler.
MiddlewareFunc is a function that can be used to decorate a service method/endpoint's handler.
MiddlewareFuncs is an ordered pipeline of operations that must occur before invoking a service method/endpoint's handler.
ServerOption defines a setting that you can change on a services.Server while setting up your application in main().
StructPointer is a tagging type used to indicate either a pointer to the "request" struct to service methods or a pointer to the "response" struct of the method.