Skip to content

Givc-agent Go-API

import "givc/modules/cmd/givc-agent"

The GIVC agent is a service that allows remote management of systemd units and applications.

The built-in gRPC server listens for commands from the GIVC admin server (or other instances) and executes them on the local system. In order to configure its functionality, it reads environment variables from the respective nixosModule configuration.

func StartEventService(ctx context.Context, wg *sync.WaitGroup, config *givc_config.AgentConfig)

func StartSocketService(ctx context.Context, wg *sync.WaitGroup, agentConfig *givc_config.AgentConfig)

func main()

Main function of the GIVC agent.

func setupGRPCServices(agentEndpointConfig *givc_types.EndpointConfig, config *givc_config.AgentConfig) ([]givc_types.GrpcServiceRegistration, *givc_servicemanager.SystemdControlServer, error)

setupGRPCServices creates and configures all required and optional GRPC services

Generated by gomarkdoc