kit: github.com/go-kit/kit/examples/addsvc/client/http Index | Files

package http

import "github.com/go-kit/kit/examples/addsvc/client/http"

Package http provides an HTTP client for the add service.

Index

Package Files

client.go

func New Uses

func New(instance string, tracer stdopentracing.Tracer, logger log.Logger) (addsvc.Service, error)

New returns an AddService backed by an HTTP server living at the remote instance. We expect instance to come from a service discovery system, so likely of the form "host:port".

Package http imports 13 packages (graph). Updated 2016-11-17. Refresh now. Tools for package owners.