package http

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

Package http provides an HTTP client for the add service.

Index

Functions

func New

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".

Source Files

client.go

Version
v0.2.0
Published
Jul 27, 2016
Platform
windows/amd64
Imports
13 packages
Last checked
2 minutes ago

Tools for package owners.