Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.52 KB

README.md

File metadata and controls

60 lines (36 loc) · 1.52 KB

OpenZiti Go SDK Examples

This folder contains examples showing how to use the OpenZiti Go SDK

Building the SDK Examples

Requirements

  • go 1.19 or later
  • gcc compiler

Build

Execute the following to build all examples. They will be placed in a folder in the example directory labeled build

  1. CD to the example directory

    cd <repo-repo-dir>/example
    
  2. Run the following to create the build directory and build the examples

    export ZITI_SDK_BUILD_DIR=$(pwd)/build
    mkdir $ZITI_SDK_BUILD_DIR
    go mod tidy
    go build -o build ./...
    

SDK Examples Overview

This demonstrates how to build network applications using the SDK with a CLI based chat server and client.

This demonstrates how to build P2P network applications with a CLI based chat application which is modeled loosely on a VoIP.

Shows how to integrate the SDK with the Go net/http library as a client.

Shows how to integrate the SDK with the Go net/http library as a server.

Shows how to integrate the SDK with GRPC as a client and server.

Shows how to have the influxdb client work using the SDK.

Basic echo client and server built with the SDK.

Netcat like application which can work over OpenZiti.

Client and server applications for measuring latency over an OpenZiti network.