forked from TrueCloudLab/frostfs-api-go
Alex Vanin
f69d2ad83c
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
13 lines
238 B
Go
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)
|
|
}
|