element/service.go

9 lines
124 B
Go
Raw Normal View History

package element
import "google.golang.org/grpc"
type Service interface {
ID() string
Register(srv *grpc.Server) error
}