1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
v2fly/app/commander/service.go

12 lines
203 B
Go
Raw Normal View History

2018-02-08 17:24:35 -05:00
package commander
import (
"google.golang.org/grpc"
)
2018-04-03 18:57:44 -04:00
// Service is a Commander service.
2018-02-08 17:24:35 -05:00
type Service interface {
2018-04-03 18:57:44 -04:00
// Register registers the service itself to a gRPC server.
2018-02-08 17:24:35 -05:00
Register(*grpc.Server)
}