forked from TrueCloudLab/frostfs-sdk-go
[#276] Merge repo with frostfs-api-go
Signed-off-by: Pavel Pogodaev <p.pogodaev@yadro.com>
This commit is contained in:
parent
5361f0eceb
commit
6ce73790ea
337 changed files with 66666 additions and 283 deletions
13
api/rpc/client/util.go
Normal file
13
api/rpc/client/util.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package client
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/rpc/common"
|
||||
)
|
||||
|
||||
const methodNameFmt = "/%s/%s"
|
||||
|
||||
func toMethodName(p common.CallMethodInfo) string {
|
||||
return fmt.Sprintf(methodNameFmt, p.Service, p.Name)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue