Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 745 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 745 Bytes

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