http

package
v0.0.0-...-6fb8895 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(instance string, options map[string][]kithttp.ClientOption) (authn.Service, error)

import (

"bytes"
"context"
"encoding/json"
endpoint "github.com/go-kit/kit/endpoint"
http "github.com/go-kit/kit/transport/http"
"github.com/piusalfred/igrid/authn"
endpoint1 "github.com/piusalfred/igrid/authn/api"
"io/ioutil"
http1 "net/http"
"net/url"
"strings"

)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL