Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCameraServiceServer ¶
func RegisterCameraServiceServer(s *grpc.Server, srv CameraServiceServer)
Types ¶
type CameraServiceClient ¶
type CameraServiceClient interface { Start(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) Stop(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
CameraServiceClient is the client API for CameraService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCameraServiceClient ¶
func NewCameraServiceClient(cc *grpc.ClientConn) CameraServiceClient
type CameraServiceServer ¶
type CameraServiceServer interface { Start(context.Context, *empty.Empty) (*empty.Empty, error) Stop(context.Context, *empty.Empty) (*empty.Empty, error) }
CameraServiceServer is the server API for CameraService service.
type UnimplementedCameraServiceServer ¶
type UnimplementedCameraServiceServer struct { }
UnimplementedCameraServiceServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.