rpc

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIClient

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

AIClient 封装 gRPC 检测服务客户端,提供统一的 AI 检测调用入口

func NewAIClient

func NewAIClient(addr string) *AIClient

NewAIClient 创建 AI 检测客户端实例

func (*AIClient) GetStatus

func (a *AIClient) GetStatus(ctx context.Context, in *protos.StatusRequest, opts ...grpc.CallOption) (*protos.StatusResponse, error)

GetStatus implements protos.AnalysisServiceClient.

func (*AIClient) StartCamera

StartCamera implements protos.AnalysisServiceClient.

func (*AIClient) StopCamera

StopCamera implements protos.AnalysisServiceClient.

Jump to

Keyboard shortcuts

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