package
1.7.1
Repository: https://github.com/vine-io/vine.git
Documentation: pkg.go.dev

# Packages

Package handler provides http handlers.
Package resolver resolves a http request to an endpoint.
Package router provides api service routing.
Package server provides an API gateway server which handles inbound requests.

# 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

# Type aliases

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