pic_capture

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PicCaptureService_PicCapture_FullMethodName = "/pic_capture.PicCaptureService/PicCapture"
)

Variables

View Source
var File_pic_capture_proto protoreflect.FileDescriptor
View Source
var PicCaptureService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pic_capture.PicCaptureService",
	HandlerType: (*PicCaptureServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PicCapture",
			Handler:    _PicCaptureService_PicCapture_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pic_capture.proto",
}

PicCaptureService_ServiceDesc is the grpc.ServiceDesc for PicCaptureService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPicCaptureServiceServer

func RegisterPicCaptureServiceServer(s grpc.ServiceRegistrar, srv PicCaptureServiceServer)

Types

type CaptureRequest

type CaptureRequest struct {

	// 设备编号
	DeviceID string `protobuf:"bytes,1,opt,name=DeviceID,proto3" json:"DeviceID,omitempty"`
	// 通道编号
	ChannelID string `protobuf:"bytes,2,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"`
	// minio参数
	MinioURL string `protobuf:"bytes,3,opt,name=MinioURL,proto3" json:"MinioURL,omitempty"`
	// contains filtered or unexported fields
}

func (*CaptureRequest) Descriptor deprecated

func (*CaptureRequest) Descriptor() ([]byte, []int)

Deprecated: Use CaptureRequest.ProtoReflect.Descriptor instead.

func (*CaptureRequest) GetChannelID

func (x *CaptureRequest) GetChannelID() string

func (*CaptureRequest) GetDeviceID

func (x *CaptureRequest) GetDeviceID() string

func (*CaptureRequest) GetMinioURL

func (x *CaptureRequest) GetMinioURL() string

func (*CaptureRequest) ProtoMessage

func (*CaptureRequest) ProtoMessage()

func (*CaptureRequest) ProtoReflect

func (x *CaptureRequest) ProtoReflect() protoreflect.Message

func (*CaptureRequest) Reset

func (x *CaptureRequest) Reset()

func (*CaptureRequest) String

func (x *CaptureRequest) String() string

type CaptureResponse

type CaptureResponse struct {
	PictureURL string `protobuf:"bytes,1,opt,name=PictureURL,proto3" json:"PictureURL,omitempty"` //minio 图片地址
	// contains filtered or unexported fields
}

func (*CaptureResponse) Descriptor deprecated

func (*CaptureResponse) Descriptor() ([]byte, []int)

Deprecated: Use CaptureResponse.ProtoReflect.Descriptor instead.

func (*CaptureResponse) GetPictureURL

func (x *CaptureResponse) GetPictureURL() string

func (*CaptureResponse) ProtoMessage

func (*CaptureResponse) ProtoMessage()

func (*CaptureResponse) ProtoReflect

func (x *CaptureResponse) ProtoReflect() protoreflect.Message

func (*CaptureResponse) Reset

func (x *CaptureResponse) Reset()

func (*CaptureResponse) String

func (x *CaptureResponse) String() string

type EmptyResponse

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

func (*EmptyResponse) Descriptor deprecated

func (*EmptyResponse) Descriptor() ([]byte, []int)

Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.

func (*EmptyResponse) ProtoMessage

func (*EmptyResponse) ProtoMessage()

func (*EmptyResponse) ProtoReflect

func (x *EmptyResponse) ProtoReflect() protoreflect.Message

func (*EmptyResponse) Reset

func (x *EmptyResponse) Reset()

func (*EmptyResponse) String

func (x *EmptyResponse) String() string

type PicCaptureServiceClient

type PicCaptureServiceClient interface {
	// *
	// 设备抓图
	PicCapture(ctx context.Context, in *CaptureRequest, opts ...grpc.CallOption) (*CaptureResponse, error)
}

PicCaptureServiceClient is the client API for PicCaptureService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PicCaptureServiceServer

type PicCaptureServiceServer interface {
	// *
	// 设备抓图
	PicCapture(context.Context, *CaptureRequest) (*CaptureResponse, error)
	// contains filtered or unexported methods
}

PicCaptureServiceServer is the server API for PicCaptureService service. All implementations must embed UnimplementedPicCaptureServiceServer for forward compatibility

type UnimplementedPicCaptureServiceServer

type UnimplementedPicCaptureServiceServer struct {
}

UnimplementedPicCaptureServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPicCaptureServiceServer) PicCapture

type UnsafePicCaptureServiceServer

type UnsafePicCaptureServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePicCaptureServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PicCaptureServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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