examples

command
v2.47.3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Examples

This folder contains examples of how to set up a control plane server to communicate using this sdk

To run the server example from this context:

go run server.go

INFO[0000] http listening                    
INFO[0000] grpc listening

The above command should show the following output in the application: INFO[0000] http listening
INFO[0000] grpc listening

Configuring the Agent to run against the example server

Agent Settings
server:
  # host of the control plane
  host: 127.0.0.1
  grpcPort: 54789
# tls options - NOT RECOMMENDED FOR PRODUCTION
tls:
  enable: false
  skip_verify: true
Viewing the HTTP Static content

HTTP Server Webpage

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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