1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00

move the api client

This commit is contained in:
Asim Aslam 2022-01-03 11:21:20 +00:00
parent da41ab146e
commit 267da35259
59 changed files with 56 additions and 58 deletions

View File

@ -1,3 +1,4 @@
// Package client provides an api client
package client package client
import ( import (

1
go.mod
View File

@ -29,7 +29,6 @@ require (
github.com/uber/jaeger-client-go v2.29.1+incompatible github.com/uber/jaeger-client-go v2.29.1+incompatible
github.com/uber/jaeger-lib v2.4.1+incompatible github.com/uber/jaeger-lib v2.4.1+incompatible
github.com/urfave/cli/v2 v2.3.0 github.com/urfave/cli/v2 v2.3.0
go.m3o.com v0.6.0
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a
golang.org/x/net v0.0.0-20210510120150-4163338589ed golang.org/x/net v0.0.0-20210510120150-4163338589ed
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c golang.org/x/sync v0.0.0-20210220032951-036812b2e83c

2
go.sum
View File

@ -539,8 +539,6 @@ github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
go.m3o.com v0.6.0 h1:5nBuk+vF9VVe/zhj4OkDYYKsn/hogw/LzxuE5FECyFk=
go.m3o.com v0.6.0/go.mod h1:p8FdLqZH3R9a0y04qiMNT+clw69d3SxyQPFzCNbDRtk=
go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=

View File

@ -1,7 +1,7 @@
package address package address
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Address interface { type Address interface {

View File

@ -1,7 +1,7 @@
package answer package answer
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Answer interface { type Answer interface {

View File

@ -1,7 +1,7 @@
package app package app
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type App interface { type App interface {

View File

@ -1,7 +1,7 @@
package avatar package avatar
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Avatar interface { type Avatar interface {

View File

@ -1,7 +1,7 @@
package cache package cache
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Cache interface { type Cache interface {

View File

@ -1,7 +1,7 @@
package contact package contact
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Contact interface { type Contact interface {

View File

@ -1,7 +1,7 @@
package crypto package crypto
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Crypto interface { type Crypto interface {

View File

@ -1,7 +1,7 @@
package currency package currency
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Currency interface { type Currency interface {

View File

@ -1,7 +1,7 @@
package db package db
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Db interface { type Db interface {

View File

@ -1,7 +1,7 @@
package email package email
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Email interface { type Email interface {

View File

@ -1,7 +1,7 @@
package emoji package emoji
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Emoji interface { type Emoji interface {

View File

@ -1,7 +1,7 @@
package evchargers package evchargers
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Evchargers interface { type Evchargers interface {

View File

@ -1,7 +1,7 @@
package event package event
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Event interface { type Event interface {

View File

@ -1,7 +1,7 @@
package file package file
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type File interface { type File interface {

View File

@ -1,7 +1,7 @@
package forex package forex
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Forex interface { type Forex interface {

View File

@ -1,7 +1,7 @@
package function package function
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Function interface { type Function interface {

View File

@ -1,7 +1,7 @@
package geocoding package geocoding
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Geocoding interface { type Geocoding interface {

View File

@ -1,7 +1,7 @@
package gifs package gifs
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Gifs interface { type Gifs interface {

View File

@ -1,7 +1,7 @@
package google package google
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Google interface { type Google interface {

View File

@ -1,7 +1,7 @@
package helloworld package helloworld
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Helloworld interface { type Helloworld interface {

View File

@ -1,7 +1,7 @@
package holidays package holidays
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Holidays interface { type Holidays interface {

View File

@ -1,7 +1,7 @@
package id package id
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Id interface { type Id interface {

View File

@ -1,7 +1,7 @@
package image package image
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Image interface { type Image interface {

View File

@ -1,7 +1,7 @@
package ip package ip
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Ip interface { type Ip interface {

View File

@ -1,7 +1,7 @@
package joke package joke
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Joke interface { type Joke interface {

View File

@ -1,7 +1,7 @@
package location package location
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Location interface { type Location interface {

View File

@ -1,7 +1,7 @@
package movie package movie
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Movie interface { type Movie interface {

View File

@ -1,7 +1,7 @@
package mq package mq
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Mq interface { type Mq interface {

View File

@ -1,7 +1,7 @@
package news package news
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type News interface { type News interface {

View File

@ -1,7 +1,7 @@
package nft package nft
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Nft interface { type Nft interface {

View File

@ -1,7 +1,7 @@
package notes package notes
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Notes interface { type Notes interface {

View File

@ -1,7 +1,7 @@
package otp package otp
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Otp interface { type Otp interface {

View File

@ -1,7 +1,7 @@
package postcode package postcode
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Postcode interface { type Postcode interface {

View File

@ -1,7 +1,7 @@
package prayer package prayer
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Prayer interface { type Prayer interface {

View File

@ -1,7 +1,7 @@
package qr package qr
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Qr interface { type Qr interface {

View File

@ -1,7 +1,7 @@
package quran package quran
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Quran interface { type Quran interface {

View File

@ -1,7 +1,7 @@
package routing package routing
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Routing interface { type Routing interface {

View File

@ -1,7 +1,7 @@
package rss package rss
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Rss interface { type Rss interface {

View File

@ -1,7 +1,7 @@
package search package search
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Search interface { type Search interface {

View File

@ -1,7 +1,7 @@
package sentiment package sentiment
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Sentiment interface { type Sentiment interface {

View File

@ -1,7 +1,7 @@
package sms package sms
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Sms interface { type Sms interface {

View File

@ -1,7 +1,7 @@
package space package space
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Space interface { type Space interface {

View File

@ -1,7 +1,7 @@
package spam package spam
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Spam interface { type Spam interface {

View File

@ -1,7 +1,7 @@
package stock package stock
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Stock interface { type Stock interface {

View File

@ -1,7 +1,7 @@
package stream package stream
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Stream interface { type Stream interface {

View File

@ -1,7 +1,7 @@
package sunnah package sunnah
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Sunnah interface { type Sunnah interface {

View File

@ -1,7 +1,7 @@
package thumbnail package thumbnail
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Thumbnail interface { type Thumbnail interface {

View File

@ -1,7 +1,7 @@
package time package time
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Time interface { type Time interface {

View File

@ -1,7 +1,7 @@
package translate package translate
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Translate interface { type Translate interface {

View File

@ -1,7 +1,7 @@
package twitter package twitter
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Twitter interface { type Twitter interface {

View File

@ -1,7 +1,7 @@
package url package url
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Url interface { type Url interface {

View File

@ -1,7 +1,7 @@
package user package user
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type User interface { type User interface {

View File

@ -1,7 +1,7 @@
package vehicle package vehicle
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Vehicle interface { type Vehicle interface {

View File

@ -1,7 +1,7 @@
package weather package weather
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Weather interface { type Weather interface {

View File

@ -1,7 +1,7 @@
package youtube package youtube
import ( import (
"go-micro.dev/v4/services/client" "go-micro.dev/v4/api/client"
) )
type Youtube interface { type Youtube interface {