forked from TrueCloudLab/frostfs-api-go
14 lines
221 B
Go
14 lines
221 B
Go
|
package grpc
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
|
||
|
"github.com/nspcc-dev/neofs-api-go/rpc/common"
|
||
|
)
|
||
|
|
||
|
const methodNameFmt = "%s/%s"
|
||
|
|
||
|
func toMethodName(p common.CallMethodInfo) string {
|
||
|
return fmt.Sprintf(methodNameFmt, p.Service, p.Name)
|
||
|
}
|