move to micro v4

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2023-04-28 22:29:18 +03:00
parent 3f44a41d30
commit 18eb0d9e5c
9 changed files with 30 additions and 36 deletions

View File

@@ -5,14 +5,14 @@ This plugin is a http client for micro.
## Overview
The http client wraps `net/http` to provide a robust micro client with service discovery, load balancing and streaming.
It complies with the [micro.Client](https://godoc.org/go.unistack.org/micro-client-http/v3#Client) interface.
It complies with the [micro.Client](https://godoc.org/go.unistack.org/micro-client-http/v4#Client) interface.
## Usage
### Use directly
```go
import "go.unistack.org/micro-client-http/v3"
import "go.unistack.org/micro-client-http/v4"
service := micro.NewService(
micro.Name("my.service"),