frostfs-api-go-pogpp/rpc/client/util.go

14 lines
238 B
Go
Raw Normal View History

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)
}