forked from TrueCloudLab/frostfs-sdk-go
Move to frostfs-sdk-go
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
45a6e7a7c2
commit
4c779423f5
177 changed files with 739 additions and 737 deletions
|
@ -47,8 +47,8 @@ Consume custom service of the server:
|
|||
rpc CustomRPC(CustomRPCRequest) returns (CustomRPCResponse);
|
||||
}
|
||||
|
||||
import "github.com/nspcc-dev/neofs-api-go/v2/rpc/client"
|
||||
import "github.com/nspcc-dev/neofs-api-go/v2/rpc/common"
|
||||
import "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client"
|
||||
import "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common"
|
||||
|
||||
req := new(CustomRPCRequest)
|
||||
// ...
|
||||
|
@ -72,7 +72,7 @@ for the all operations are write-only and the results of the all operations are
|
|||
read-only. To be able to override client behavior (e.g. for tests), abstract it
|
||||
with an interface:
|
||||
|
||||
import "github.com/nspcc-dev/neofs-sdk-go/client"
|
||||
import "github.com/TrueCloudLab/frostfs-sdk-go/client"
|
||||
|
||||
type NeoFSClient interface {
|
||||
// Operations according to the application needs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue