server

package
v0.0.0-...-ffddd80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCServer

type RPCServer struct {
	// contains filtered or unexported fields
}

RPCServer RPC server handlers

func NewRPCServer

func NewRPCServer(log *utils.Log, vision *vision.Vision) *RPCServer

NewRPCServer Make new struct

func (*RPCServer) Start

func (r *RPCServer) Start(ip string, port int) error

Start start gRPC server

func (*RPCServer) TakeNightPhoto

TakeNightPhoto Get photo from camera

func (*RPCServer) TakePhoto

func (r *RPCServer) TakePhoto(ctx context.Context, req *pb.TakePhotoRequest) (*pb.TakePhotoResponse, error)

TakePhoto Get photo from camera

Directories

Path Synopsis
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL