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:
parent
da41ab146e
commit
267da35259
@ -1,3 +1,4 @@
|
||||
// Package client provides an api client
|
||||
package client
|
||||
|
||||
import (
|
1
go.mod
1
go.mod
@ -29,7 +29,6 @@ require (
|
||||
github.com/uber/jaeger-client-go v2.29.1+incompatible
|
||||
github.com/uber/jaeger-lib v2.4.1+incompatible
|
||||
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/net v0.0.0-20210510120150-4163338589ed
|
||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
||||
|
2
go.sum
2
go.sum
@ -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.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||
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.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
|
||||
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
|
||||
|
@ -1,7 +1,7 @@
|
||||
package address
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Address interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package answer
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Answer interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package app
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type App interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package avatar
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Avatar interface {
|
||||
|
2
services/cache/cache.go
vendored
2
services/cache/cache.go
vendored
@ -1,7 +1,7 @@
|
||||
package cache
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Cache interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package contact
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Contact interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package crypto
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Crypto interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package currency
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Currency interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Db interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package email
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Email interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package emoji
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Emoji interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package evchargers
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Evchargers interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package event
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Event interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package file
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type File interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package forex
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Forex interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package function
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Function interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package geocoding
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Geocoding interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package gifs
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Gifs interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package google
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Google interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package helloworld
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Helloworld interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package holidays
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Holidays interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package id
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Id interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package image
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Image interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package ip
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Ip interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package joke
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Joke interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package location
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Location interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package movie
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Movie interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package mq
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Mq interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package news
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type News interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package nft
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Nft interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package notes
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Notes interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package otp
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Otp interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package postcode
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Postcode interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package prayer
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Prayer interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package qr
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Qr interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package quran
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Quran interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package routing
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Routing interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package rss
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Rss interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package search
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Search interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package sentiment
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Sentiment interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package sms
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Sms interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package space
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Space interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package spam
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Spam interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package stock
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Stock interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package stream
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Stream interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package sunnah
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Sunnah interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package thumbnail
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Thumbnail interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package time
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Time interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package translate
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Translate interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package twitter
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Twitter interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package url
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Url interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package user
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type User interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package vehicle
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Vehicle interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package weather
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Weather interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package youtube
|
||||
|
||||
import (
|
||||
"go-micro.dev/v4/services/client"
|
||||
"go-micro.dev/v4/api/client"
|
||||
)
|
||||
|
||||
type Youtube interface {
|
||||
|
Loading…
Reference in New Issue
Block a user