frostfs-api-go/rpc/client/util.go
Alex Vanin f69d2ad83c Rename package name
Due to source code relocation from GitHub.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-07 13:42:36 +03:00

13 lines
238 B
Go

package client
import (
"fmt"
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common"
)
const methodNameFmt = "/%s/%s"
func toMethodName(p common.CallMethodInfo) string {
return fmt.Sprintf(methodNameFmt, p.Service, p.Name)
}