forked from TrueCloudLab/frostfs-node
14 lines
161 B
Go
14 lines
161 B
Go
|
package grpc
|
||
|
|
||
|
import (
|
||
|
"google.golang.org/grpc"
|
||
|
)
|
||
|
|
||
|
type Server = grpc.Server
|
||
|
|
||
|
// Service interface
|
||
|
type Service interface {
|
||
|
Name() string
|
||
|
Register(*Server)
|
||
|
}
|