package
0.7.0
Repository: https://github.com/cloudpbx/kit.git
Documentation: pkg.go.dev

# README

profilesvc

This example demonstrates how to use Go kit to implement a REST-y HTTP service. It leverages the excellent gorilla mux package for routing.

# Packages

Package client provides a profilesvc client based on a predefined Consul service name and relevant tags.
No description provided by the author

# Functions

No description provided by the author
MakeClientEndpoints returns an Endpoints struct where each endpoint invokes the corresponding method on the remote instance, via a transport/http.Client.
MakeDeleteAddressEndpoint returns an endpoint via the passed service.
MakeDeleteProfileEndpoint returns an endpoint via the passed service.
MakeGetAddressEndpoint returns an endpoint via the passed service.
MakeGetAddressesEndpoint returns an endpoint via the passed service.
MakeGetProfileEndpoint returns an endpoint via the passed service.
MakeHTTPHandler mounts all of the service endpoints into an http.Handler.
MakePatchProfileEndpoint returns an endpoint via the passed service.
MakePostAddressEndpoint returns an endpoint via the passed service.
MakePostProfileEndpoint returns an endpoint via the passed service.
MakePutProfileEndpoint returns an endpoint via the passed service.
MakeServerEndpoints returns an Endpoints struct where each endpoint invokes the corresponding method on the provided service.
No description provided by the author

# Variables

No description provided by the author
ErrBadRouting is returned when an expected path variable is missing.
No description provided by the author
No description provided by the author

# Structs

Address is a field of a user profile.
Endpoints collects all of the endpoints that compose a profile service.
Profile represents a single user profile.

# Interfaces

Service is a simple CRUD interface for user profiles.

# Type aliases

Middleware describes a service (as opposed to endpoint) middleware.