Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AgentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "AgentService", HandlerType: (*AgentServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Connect", Handler: _AgentService_Connect_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "proto/agent/agent.proto", }
AgentService_ServiceDesc is the grpc.ServiceDesc for AgentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_agent_agent_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentServiceServer ¶
func RegisterAgentServiceServer(s grpc.ServiceRegistrar, srv AgentServiceServer)
Types ¶
type AgentServiceClient ¶
type AgentServiceClient interface { // Agent Identifier? Connect(ctx context.Context, opts ...grpc.CallOption) (AgentService_ConnectClient, error) }
AgentServiceClient is the client API for AgentService 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.
func NewAgentServiceClient ¶
func NewAgentServiceClient(cc grpc.ClientConnInterface) AgentServiceClient
type AgentServiceServer ¶
type AgentServiceServer interface { // Agent Identifier? Connect(AgentService_ConnectServer) error }
AgentServiceServer is the server API for AgentService service. All implementations should embed UnimplementedAgentServiceServer for forward compatibility
type UnimplementedAgentServiceServer ¶
type UnimplementedAgentServiceServer struct { }
UnimplementedAgentServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAgentServiceServer) Connect ¶
func (UnimplementedAgentServiceServer) Connect(AgentService_ConnectServer) error
type UnsafeAgentServiceServer ¶ added in v0.1.0
type UnsafeAgentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAgentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServiceServer will result in compilation errors.