mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
14 lines
224 B
Go
14 lines
224 B
Go
// +build !confonly
|
|
|
|
package commander
|
|
|
|
import (
|
|
"google.golang.org/grpc"
|
|
)
|
|
|
|
// Service is a Commander service.
|
|
type Service interface {
|
|
// Register registers the service itself to a gRPC server.
|
|
Register(*grpc.Server)
|
|
}
|