github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/rpc/client/util.go (about) 1 package client 2 3 import ( 4 "fmt" 5 6 "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" 7 ) 8 9 const methodNameFmt = "/%s/%s" 10 11 func toMethodName(p common.CallMethodInfo) string { 12 return fmt.Sprintf(methodNameFmt, p.Service, p.Name) 13 }