Skip to content

Commit

Permalink
Update go.md
Browse files Browse the repository at this point in the history
Added new information, updated dates
  • Loading branch information
JoGSal authored Mar 28, 2024
1 parent e2f83e1 commit 6fb7ff3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _pages/implement/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ sidebar:

{% include toc icon="file-text" %}

The following is an excerpt from 2018 by Dr. Brandon Wiley, The Operator Foundation

Transports that implement the PT 2.0 Go API (see the [PT2 spec](/spec/)) provide a “virtual network interface” that can be used instead of Go’s net.Conn API for sending and receiving traffic over the network. When using these transports, the application data is transformed so as to be resistant to blocking.

Before we get started writing code, let’s look at the required interfaces. These interfaces can be found in the PT 2.0 Go API specification, as well as in the [*shapeshifter-transports*](https://github.com/OperatorFoundation/shapeshifter-transports) Go library (in the [*base*](https://github.com/OperatorFoundation/shapeshifter-transports/blob/master/transports/base/base.go) package).
Expand Down Expand Up @@ -214,4 +216,9 @@ This creates a new variable “buffer” and allocates an array of 1024 bytes wh

---

## PT API 3.0: How to Use Pluggable Transports in Your Go Application

The most recent version of the Pluggable Transports specification, version 3.0 as of 2023, counts with an available sample implementation for the Go language, which can be found [here](https://github.com/Pluggable-Transports/Pluggable-Transports-spec/blob/main/releases/PTSpecV3.0/Pluggable%20Transport%20Specification%20v3.0%20-%20Go%20Transport%20API%20v3.0.md)


*CC-BY Dr. Brandon Wiley, The Operator Foundation*

0 comments on commit 6fb7ff3

Please sign in to comment.