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.3.0
Published
Nov 15, 2016
Platform
linux/amd64
Imports
13 packages
Last checked
1 minute ago

Tools for package owners.