package
5.0.2
Repository: https://github.com/go-micro/microwire.git
Documentation: pkg.go.dev

# Packages

Package client provides an api client.
Package handler provides http handlers.
No description provided by the author
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.
NewApi returns a new api gateway.
No description provided by the author
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"}, }, )).
WithRouter sets the router to use e.g static or registry.

# Structs

Endpoint is a mapping between an RPC method and HTTP endpoint.
Options are API options.
Service represents an API service.

# Interfaces

API interface provides a way to create composable API gateways.

# Type aliases

Option type are API option args.