Skip to content
Snippets Groups Projects
Commit 6c6a2e44 authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Change package name and add a package comment

parent 767c07dc
No related branches found
No related tags found
No related merge requests found
package lib
package snowflake_client
// Tongue is an interface for catching Snowflakes. (aka the remote dialer)
type Tongue interface {
......
package lib
package snowflake_client
import (
"fmt"
......
package lib
package snowflake_client
import (
"container/list"
......
// WebRTC rendezvous requires the exchange of SessionDescriptions between
// peers in order to establish a PeerConnection.
package lib
package snowflake_client
import (
"errors"
......
package lib
package snowflake_client
import (
"errors"
......
package lib
package snowflake_client
import (
"bytes"
......
package lib
package snowflake_client
import (
"bytes"
......
package lib
/*
Package snowflake_client implements functionality necessary for a client to establish a connection
to a server using Snowflake.
Included in the package is a Transport type that implements the Pluggable Transports v2.1 Go API
specification. To use Snowflake, you must first create a client from a configuration:
config := snowflake_client.ClientConfig{
BrokerURL: "https://snowflake-broker.example.com",
FrontDomain: "https://friendlyfrontdomain.net",
Max: 1,
// ...
}
transport, err := snowflake_client.NewSnowflakeClient(config)
if err != nil {
// handle error
}
The Dial function connects to a Snowflake server:
conn, err := transport.Dial()
if err != nil {
// handle error
}
defer conn.Close()
*/
package snowflake_client
import (
"context"
......
package lib
package snowflake_client
import (
"bufio"
......
package lib
package snowflake_client
import (
"log"
......
package lib
package snowflake_client
import (
"crypto/rand"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment