1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-28 13:07:05 -05:00
v2fly/app/commander/service.go

14 lines
224 B
Go
Raw Normal View History

2019-02-01 14:08:21 -05:00
// +build !confonly
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)
}