server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package server implements the gRPC server and client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPointer

func BoolPointer(b bool) *bool

func Server

func Server(app core.App)

Types

type AgentServer

type AgentServer struct {
	agentv1connect.UnimplementedAgentServiceHandler

	PB      core.App
	Clients map[string]Client
	// contains filtered or unexported fields
}

func (*AgentServer) Stream

type Client

type Client struct {
	Machine *models.Record
	Stream  *connect.BidiStream[agentv1.StreamRequest, agentv1.StreamResponse]
}

Jump to

Keyboard shortcuts

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