# Functions
Decode decodes endpoint metadata into an endpoint.
Encode encodes an endpoint to endpoint metadata.
Validate validates an endpoint to guarantee it won't blow up when being served.
WithEndpoint returns a server.HandlerOption with endpoint metadata set
Usage:
proto.RegisterHandler(service.Server(), new(Handler), api.WithEndpoint( &api.Endpoint{ Name: "Greeter.Hello", Path: []string{"/greeter"}, }, )).
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Endpoint is a mapping between an RPC method and HTTP endpoint.
Event A HTTP event as RPC Forwarded by the event handler.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Request A HTTP request as RPC Forward by the api handler +gogo:genproto=true.
Response A HTTP response as RPC Expected response for the api handler.
Service represents an API service.
# Interfaces
No description provided by the author