1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 01:17:30 -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)
}